note the back slash, dereferencing the hash reference. there are examples of fetch loop processing code using the fetchall_hashref on the web and in the documentation for DBI.my $column1value = \$result_hash{'col1'};
In reply to Re: can't use string as hash ref
by aquarium
in thread can't use string as hash ref
by spickles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |