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?
An organised event
A traditional gathering
With family and friends
I don't celebrate the New Year
Adjusting my clocks for the Leap Second
I can't remember
Results (196 votes). Check out past polls.