Foorum::Utils - some common functions
Convert any '<', '>' or '&' characters to the HTML equivalents, '<', '>' and '&', respectively.
encodeHTML is the same as TT filter 'html'
make sure color is ^\#[0-9a-zA-Z]{6}$
return a random word (length is $len), char is random ('A' .. 'Z', 'a' .. 'z', 0 .. 9)
!#@!$#$^%$ bad English
since we always use /page=(\d+)/ as in sub/pager.html
truncate text using Encode utf8
convert (title) string to be an acceptable URL part
Fayland Lam <fayland at gmail.com>
To install Foorum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Foorum
CPAN shell
perl -MCPAN -e shell install Foorum
For more information on module installation, please visit the detailed CPAN module installation guide.