in reply to
How to convert <,&,>,",' into XML <,&,>," ..
encode_entities($input, q{<>&"'})
from
HTML::Entities
will do the trick.
Comment on
Re: How to convert <,&,>,",' into XML <,&,>," ..
Download
Code
In Section
Seekers of Perl Wisdom