Help for this page

Select Code to Download


  1. or download this
    Can't locate object method "selectcol_arrayref" via package "DBI::st" 
    +at C:\temp\test.pl line 29 (#1)
        (F) You called a method correctly, and it correctly indicated a pa
    +ckage functioning as a class, but that package doesn't define that pa
    +rticular method, nor does any of its base classes.  See perlobj.
    
  2. or download this
    @EasySetTableNames = @{$sqlCmd->selectcol_arrayref($sqlStatement)};
    
  3. or download this
    use strict;
    use warnings;
    ...
    $sqlCmd = $dbh->prepare($sqlStatement);
    $sqlCmd->execute();
    @EasySetTableNames = @{$sqlCmd->selectcol_arrayref($sqlStatement)};