I have used it once for setting up an AoA structure.
I filled 3 seperate arrays from reading and processing 3 different files and then combined them
my @AoA = \(@a, @b, @c);
Slightly easier than initialising (or pushing) 3 anon arrays and then filling them with push @{$AoA[n]}, $stuff; or whatever.
In reply to Re: Re: Re: qw with anonomous list ref
by BrowserUk
in thread qw with anonomous list ref
by John M. Dlugosz
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |