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' ) = ( ... );
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (365 votes). Check out past polls.