more useful options | |
PerlMonks |
Re: array references in DBIby ioannis (Abbot) |
on May 13, 2006 at 09:48 UTC ( [id://549207]=note: print w/replies, xml ) | Need Help?? |
Note. The code that worked came close to not working either.
Each iteration tried to save the same reference! push @OrderedQuestions, \@an ; It only worked because @an was declared lexical and not global:
This almost identical code will not work
In Section
Seekers of Perl Wisdom
|
|