in reply to Re: oracle connectionin thread oracle connection
You can also directly ask DBI to return you a hash:
my $hash = $sth->fetchrow_hashref();
Sure you can (presuming the query produces the desired column names).
I was mainly trying to answer the general case, i.e. the typical "beginner's" problem of wanting to dynamically create variables like
$xxx = "$DBNAME,$USERNAME,$PROFILE";
my ( '$xxx' ) = ( ... );
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (579 votes). Check out past polls.