Here is some psuedo code of what I am doing:
Anyone know what I am doing wrong here? I feel slightly retarded after looking at this for an hour....sub foo { my @array; return \@array; } my $a_ref = foo(); print scalar(@$a_ref); #this always seems to be 1...
Thanks in advance :-)
In reply to references to empty arrays by BarMeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |