NAME
Convos::Core::Util - Utility functions for Convos
SYNOPSIS
"import" can export any of the "FUNCTIONS".
FUNCTIONS
as_id
$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".
id_as
@str = id_as $id;
Reverse of "as_id".
logf
$c->logf($level => $format, @args);
$c->logf(debug => 'yay %s', \%data);
Used to log more complex datastructures and to prevent logging undef
.
format_time
$str = format_time $timestamp, $format;
AUTHOR
Jan Henning Thorsen - jhthorsen@cpan.org