in reply to perl-mysql help - print table structure
One more item ... i don't like the way you pass around global variables like that. If you really want to use a global because passing variables to subs is tedious, just slam your config vals into a hash:
That is much easier to handle.my %conf = ( db_type => 'mysql', db_name => 'new_db', db_user => 'root', db_pass => '****', table => 'profile', );
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|