@EasySetTableNames = @{$sqlCmd->selectcol_arrayref($sqlStatement)}; #### @EasySetTableNames = @{$dbh->selectcol_arrayref($sqlStatement)}; #### Can't use an undefined value as an ARRAY reference at C:\temp\test.pl line 29 (#1) (F) A value used as either a hard reference or a symbolic reference must be a defined value. This helps to delurk some insidious errors.