Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Quotes to 'HTML' Quotes...

by Trimbach (Curate)
on Mar 16, 2004 at 12:54 UTC ( #336986=note: print w/replies, xml ) Need Help??


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

Replies are listed 'Best First'.
Re: Re: Quotes to 'HTML' Quotes...
by Anonymous Monk on Mar 16, 2004 at 12:56 UTC
    * Your a star *