in reply to
Trimming trailing double quotes
The
^
sign tells the regex to trim only the first chacaracter of a line, as the
$
sign tells to trim the last one. If you want to get rid of all double quotes you should remove it:
$line =~ s/\"//g;
Type perldoc perlre for more information.
Regards,
Er Galvão Abbott
www.galvao.eti.br
Porto Alegre Perl Mongers
Comment on
Re: Trimming trailing double quotes
Select
or
Download
Code
In Section
Seekers of Perl Wisdom