in reply to Quotes to 'HTML' Quotes...
Or better yet:
Easy, to the point, and fixes a lot more than just single quotes. :-)use HTML::Entities qw(encode_entities_numeric); $dsname = encode_entities_numeric( $dsname );
Gary Blackburn
Trained Killer
In Section
Seekers of Perl Wisdom