if ( scalar @$result > 0) { ... process rows ... print $result[0]->{'b'}."\n"; } else { ... no rows returned logic ... }
In reply to Re: DBI and fetchall_arrayref
by perlesque
in thread DBI and fetchall_arrayref
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |