Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Spaces Between Chars While Reading File

by massa (Hermit)
on Aug 01, 2008 at 14:35 UTC ( [id://701709]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Spaces Between Chars While Reading File
in thread Spaces Between Chars While Reading File

"Greedily garble everything" is rarely what you want to achieve. In the OP case, it will change
"ab", "abc", "cde"
into
ab", "abc", "cde
which is (possibly) not the intended result. The ideal would be
s/"([^"]+)"/$1/g
that would yield
ab, abc, cde
[]s, HTH, Massa (κς,πμ,πλ)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-25 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found