|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Returning multiple values from a subroutineby vinoth.ree (Priest) |
| on Dec 28, 2012 at 11:49 UTC ( #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
|
|
||||||||||||||||||||||||