go ahead... be a heretic | |
PerlMonks |
Re: Special characters in perl/cgiby tangent (Parson) |
on Feb 13, 2012 at 19:12 UTC ( [id://953525]=note: print w/replies, xml ) | Need Help?? |
HTML::Entities also allows you to supply your own character mapping, something I have found very useful. If you look at the source code of that module you will see how to build the map. See also the chr() and ord() functions for another way to represent these characters in Perl. BTW not escaping HTML tags like <H1> can seriously break your form.
In Section
Seekers of Perl Wisdom
|
|