Just another Perl shrine | |
PerlMonks |
Re: Passing Lists to Functions?by mwah (Hermit) |
on May 17, 2008 at 12:14 UTC ( [id://687082]=note: print w/replies, xml ) | Need Help?? |
The most significant error (shift as a sub) has been already mentioned. (Put a large 'S' as the first char if you need to name it that way). I'd like to make a comment to other aspects of your code. If you give a reference to something into a sub, this (referenced) object will be modified, so you won't need to copy it back and forth.
Regards mwa
In Section
Seekers of Perl Wisdom
|
|