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' ) = ( ... );
No recent polls found