>>>> 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! :)

- Grant

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to