Help for this page

Select Code to Download


  1. or download this
    @ary = @{$dbh->selectcol_arrayref($sql)};
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    # But this one dies!
    my @ary = @{$dbh->selectcol_arrayref($sql)} or die $dbh->errstr, $!;
    print for @ary;
    
  3. or download this
    No such file or directory at ./dbtest.pl line 17.