Convos::Core::Util - Utility functions for Convos
"import" can export any of the "FUNCTIONS".
$id = as_id @str;
This method will convert the input to a string which can be used as id attribute in your HTML doc.
It will convert non-word characters to ":hex" and join @str with ":00".
@str
@str = id_as $id;
Reverse of "as_id".
$hostname = hostname();
Returns the public domain name for the current hostname or fall back on "localhost".
$c->logf($level => $format, @args); $c->logf(debug => 'yay %s', \%data);
Used to log more complex datastructures and to prevent logging undef.
undef
$str = format_time $timestamp, $format;
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.