XP is just a number | |
PerlMonks |
Re: How to get two array in subroutineby jethro (Monsignor) |
on Feb 09, 2011 at 13:37 UTC ( [id://887201]=note: print w/replies, xml ) | Need Help?? |
You could add a parameter that gives the length of the first array like this:
But you really need a good reason to do that, this is 2/3 of a bad hack. Use references (and strict and warnings, by the way) UPDATE: Typo in the script corrected. Thanks go to CountZero for finding it
In Section
Seekers of Perl Wisdom
|
|