Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 about the Monastery: (3)
As of 2015-07-06 04:37 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 (70 votes), past polls