it's as easy as:
The 'lines' arg give the behavior of replacing newlines with <br> tags, read the docs to find out about more useful features this module has. Much easier. ;)use HTML::FromText; # after you get content 'into' $text print text2html($text, lines => 1);
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
In reply to (jeffa) Re: HTML String Parsing
by jeffa
in thread HTML String Parsing
by Ionizor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |