Help for this page
... my $SQL = <<SQL; ... $sth->finish || die; $dbh->disconnect; ...
# can't use select * so ... if ( $table eq "MY_FIRST_TABLE" ) { ... } elsif ( $table eq "MY_2ND_TABLE" ) { $SQL = "select another_col, dob from MY_2ND_TABLE"; } ...