Ananke::Utils - Utility functions
Utility functions used to facility your life
See all functions
Retrieves any cookie information from the browser %cookies = Ananke::Utils::getCookies;
Return time in hh:mm:ss $var = &Ananke::Utils::getTime(time());
Replace all bad chars to html format $var = &Ananke::Utils::escape("«¼TesTЪ");
If you use modperl, this functions is very good my $r = shift; my (%form,$i,$j); $i=$r->content; $j=$r->args; %form = &Ananke::Utils::getForm($i,$j); this function understand array input, id[1], id[2],id[3]...
Return randomic string, used for generate password
URL encode http://web/this has spaces' -> 'http://web/this%20has%20spaces' $var = &Ananke::Utils::escape($ENV{'REQUEST_URI'});
URL decode http://web/this%20has%20spaces -> http://web/this has spaces' $var = &Ananke::Utils::unescape("http://web/this%20has%20spaces");
Convert enter to <br> and 2 enters to <p> $var = clean($textarea);
Udlei D. R. Nattis nattis@anankeit.com.br http://www.nobol.com.br http://www.anankeit.com.br
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '&Ananke::Utils::escape("«¼TesTЪ");'. Assuming CP1252
To install Ananke::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ananke::Utils
CPAN shell
perl -MCPAN -e shell install Ananke::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.