Help for this page

Select Code to Download


  1. or download this
    use Text::CSV_XS "csv";
    
    ...
    
    # convert to array of strings
    my @list = map { $_->[0] } @$aoa;
    
  2. or download this
    use Text::CSV;
    my @list = csv(in => "file.csv", fragment => "col=3").map(*[0]);
    
  3. or download this
    use Slang::Tuxic;
    use Text::CSV;
    my @list = csv (in => "file.csv", fragment => "col=3").map (*[0]);