![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: How to convert <,&,>,",' into XML <,&,>," ..by ikegami (Patriarch) |
on Dec 16, 2008 at 20:20 UTC ( #730728=note: print w/replies, xml ) | Need Help?? |
encode_entities($input, q{<>&"'}) from HTML::Entities will do the trick.
In Section
Seekers of Perl Wisdom
|
|