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' ) = ( ... );
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (51 votes). Check out past polls.