Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 wandering the Monastery: (4)
As of 2016-06-25 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.