No such thing as a small change | |
PerlMonks |
Re: Trimming trailing double quotesby DaWolf (Curate) |
on Jan 05, 2005 at 20:02 UTC ( [id://419715]=note: print w/replies, xml ) | Need Help?? |
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,
In Section
Seekers of Perl Wisdom
|
|