Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: This looks like whitespace in my CSV but doesn't seem to be

by tobyink (Canon)
on Sep 30, 2012 at 08:18 UTC ( [id://996477]=note: print w/replies, xml ) Need Help??


in reply to This looks like whitespace in my CSV but doesn't seem to be

"This looks like whitespace but is never removed. What am I missing?"

Text::CSV strips whitespace from unquoted fields by default, but your fields are quoted. Check out String::Strip.

(Meh, ignore me. I think I got the wrong end of the stick.)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: This looks like whitespace in my CSV but doesn't seem to be

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found