Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by tobyink (Abbot)
on Sep 30, 2012 at 08:18 UTC ( #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
Node Status?
node history
Node Type: note [id://996477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (17)
As of 2015-07-07 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (89 votes), past polls