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