![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: How to create a "proper" array?by Paladin (Vicar) |
on Apr 10, 2015 at 19:31 UTC ( #1123066=note: print w/replies, xml ) | Need Help?? |
[1,2] is an array reference, not an array. To get an array reference from an array, use \@arrayname. So in your second case:
In Section
Seekers of Perl Wisdom
|
|