On Mon, 2008-09-22 at 20:16 -0700, 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 > > > > Is there a way to switch ' and ' without going through the > > HTML-Entities module? > > > > - Grant > > No? There must be! :)
Shawn's way isn't good for you? > > - Grant > -- Paolo Gianrossi Softeco Sismat S.p.A. - R&D Division via De Marini 1, 16149 Genova Tel: +39 010 6026 332 - Fax: +39 010 6026 350 E-Mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
