Help for this page

Select Code to Download


  1. or download this
    use Text::CSV_XS;
    
    ...
    while (my $row = $csv->getline ($in)) {
        # ...
        }
    
  2. or download this
    use Text::CSV_XS qw( csv );
    use PerlIO::via::gzip;
    
    my $aoa = csv (in => "test.csv.gz",  encoding => ":via(gzip)");