There's more than one way to do things | |
PerlMonks |
Re^2: Returning arrays from a package (feature qw/refaliasing/;)by LanX (Saint) |
on Oct 02, 2019 at 00:15 UTC ( [id://11106935]=note: print w/replies, xml ) | Need Help?? |
Please allow me to nitpick a bit and to advertise an experimental feature > You cannot return multiple lists from a function in Perl well the OP is trying to return multiple array-refs not lists, and the new'ish use feature qw/refaliasing/; allows these to be assigned to multiple @arrays. (see tst2())
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|