Hi,
I'm trying to figure out why
while (my @an = $sth->fetchrow_array) { push (@OrderedQuestions, \@an); }
works but
while (my $ran = $sth->fetchrow_arrayref) { push (@OrderedQuestions, $ran); }
doesn't.
Could anyone enlighten me?
Thanks in advance, BrianJanitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
In reply to array references in DBI by BrianC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |