Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by ghenry (Vicar)
on Sep 30, 2012 at 07:59 UTC ( #996472=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "My Company","Gavin","Henry ","ghenry@ghenry.co.uk"," 1.00"
    
  2. or download this
        my $csv = Text::CSV_XS->new( { binary => 1, eol => $/ } );
        open my $io, '<', $file or die "$file: $!";
    ...
            $fields[4] =~ s/\s+//g;
            print $fields[4], "\n";
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://996472]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-06-02 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (69 votes), past polls