in reply to
Hazardous characters filter
Beware writing your own filters with regex, particularly if you're feeding it to something that balks at input. There are many filters that are prebuilt and well tested to do such things.
HTML::Entities
is one.
Comment on
Re: Hazardous characters filter
In Section
Seekers of Perl Wisdom