Help for this page

Select Code to Download


  1. or download this
    COLA,COLB,VALUE
    foo,bar,1
    baz,bar,2
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $sth->execute('baz', 'bar');
    my @r = $sth->fetchrow_array();
    print Dumper \@r;
    
  3. or download this
    $ perl ./csvtest.pl
    $VAR1 = [];
    
  4. or download this
    $ perl ./csvtest.pl
    $VAR1 = [
      '1'
    ];
    
  5. or download this
    $ perl -MDBI -e 'DBI->installed_versions'
      Perl            : 5.008008    (i686-linux-thread-multi)
      OS              : linux       (2.6.16-gentoo-r12)
    ...
    1.15
    $ perl -MText::CSV_XS -le 'print $Text::CSV_XS::VERSION'
    0.32