laziness, impatience, and hubris | |
PerlMonks |
Re: Returning multiple values from a subroutineby vinoth.ree (Monsignor) |
on Dec 28, 2012 at 11:49 UTC ( [id://1010692]=note: print w/replies, xml ) | Need Help?? |
Hi, You are returning an Array reference and scalar reference, but the value get assigned into an array, So both the returning reference saved into @subs array . change the code as
In Section
Seekers of Perl Wisdom
|
|