Your getData() subroutine could also be written this way. It may be just a matter of taste...
sub getData { my ($sql,$dbHash) = @_; return $dbHash->{connect}->selectall_arrayref($sql); }
--Dave
In reply to Re: dbCopy.pl
by redsquirrel
in thread dbCopy.pl
by abaxaba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |