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 taking refuge in the Monastery: (6)
As of 2015-09-01 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (368 votes), past polls