in reply to Re^2: HTML::Entities encode_entities for perlmonks [ ]in thread HTML::Entities encode_entities for perlmonks [ ]
use HTML::Entities ;
my $string = '[< smarto >]';
my $unsafe_chars = '';
my $encoded = encode_entities($string)
Why not just encode the other characters manually?
:) Q: How do I fix this here knife? A: Why not use another knife?
Throwing nuclear weapons into the sun
Making everybody on Earth disappear
A threat from an alien with a mighty robot
A new technology or communications medium
Providing a magic fish to a Miss Universe
Establishing a Group mind
Results (173 votes). Check out past polls.