Convos::Plugin::Helpers - Mojo's little helpers
See "id_as" in Convos::Core::Util.
See "as_id" in Convos::Core::Util.
%= form_block $name, class => [$str, ...] begin ... % end
The code above will create this markup:
<div class="@$class" title="$error"> ... </div>
In addition, <@$class> will contain "error" if $error can be fetched from the stash hash errors, using $name as key.
$error
errors
$name
$c->format_conversation(\&iterator, \&callback);
Takes a list of JSON strings and turns them into a list of hash-refs where the "message" key contains a formatted version with HTML and such. The result will be passed on to the $callback.
$callback
See "logf" in Convos::Core::Util.
Returns a Mojo::Redis object.
Will render "partial" and send the result.
Returns a "<span>" tag with a timestamp.
Redirect to the last visited channel for $login. Falls back to settings.
Will register the "HELPERS" above.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Convos, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convos
CPAN shell
perl -MCPAN -e shell install Convos
For more information on module installation, please visit the detailed CPAN module installation guide.