Grant wrote:
what about
$code =~ tr/['"]/["']/;
?
I shouldn't have said characters. I'm actually trying to switch "'"
and "'" without the double-quotes. Can that be done as simply as
your one-liner above?
perldoc HTML::Entities
Or: http://search.cpan.org/~gaas/HTML-Parser-3.56/lib/HTML/Entities.pm
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/