To iterate over all the results and print them, you could do:my $ref = $sth->fetchall_arrayref(); my $second_name = $ref->[1]->[1];
-albertmy $ref = $sth->fetchall_arrayref(); foreach my $inner (@$ref){ print join ("\t", @$inner), "\n"; }
In reply to Re^4: fetchall( )
by albert
in thread fetchall( )
by maarten_m4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |