http://qs321.pair.com?node_id=336986


in reply to Quotes to 'HTML' Quotes...

Or better yet:
use HTML::Entities qw(encode_entities_numeric); $dsname = encode_entities_numeric( $dsname );
Easy, to the point, and fixes a lot more than just single quotes. :-)

Gary Blackburn
Trained Killer