Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Low-threshold function in Text::CSV_XS

by Tux (Canon)
on Jan 26, 2014 at 18:44 UTC ( [id://1072138]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     my $aoa = csv (in => "test.csv") or
         die Text::CSV_XS->error_diag;
    
  2. or download this
     my $aoa = csv (  in => "test.csv", sep_char => ";");
     my $aoh = csv ({ in => $fh, headers => "auto" });
    
  3. or download this
     auto_diag => 1
     binary    => 1
    
  4. or download this
     my $aoa = csv (in => "file.csv");
    
     open my $fh, "<", "file.csv";
    ...
    
     my $csv = [ [qw( Foo Bar )], [ 1, 2 ], [ 2, 3 ]];
     my $err = csv (in => $csv, out => "file.csv");
    
  5. or download this
     my $aoh = csv (
         in       => "test.txt",
         encoding => "utf-8",
    ...
         fragment => "row=3;6-9;15-*",
         );
     say $aoh-&gt;[15]{Foo};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found