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

Re: Reading a CSV file

by wade (Pilgrim)
on Mar 31, 2008 at 14:43 UTC ( [id://677542]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
  2. or download this
    my $read;
    my @lst;
    
  3. or download this
    open (IN, "<", "dev.csv") or die "couldn't open 'dev.csv': $!\n";
    
  4. or download this
    while (my $read=<IN>)
    {
    ...
      chomp ($read);
      #...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found