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 electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (433 votes). Check out past polls.