Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Trimming trailing double quotes

by DaWolf (Curate)
on Jan 05, 2005 at 20:02 UTC ( #419715=note: print w/replies, xml ) Need Help??


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,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://419715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-04-18 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?