Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by Tux (Monsignor)
on Sep 30, 2012 at 18:00 UTC ( #996520=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $csv= text::CSV_XS->new ({ binary => 1, allow_whitespace => 1, auto
    +_diag => 1 });
    
  2. or download this
           allow_whitespace
               When this option is set to true, whitespace (TAB's and SPAC
    +E's)
    ...
               "sep_char", "quote_char", or "escape_char" it will not be
               considered whitespace.
         
    
  3. or download this
             strip
               If set, "ReadData ()" will remove trailing- and/or leading-
    ...
                   1     strip     n/a
                   2      n/a     strip
                   3     strip    strip
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-11-27 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (190 votes), past polls