|
|
| more useful options | |
| PerlMonks |
Re: Recursive loopsby dsheroh (Parson) |
| on Dec 11, 2012 at 08:38 UTC ( #1008241=note: print w/ replies, xml ) | Need Help?? |
|
Why jump to recursion? I don't see any reason for it in your post. Personally, I'd use a queue for this: (And don't get in the habit of prefixing your sub calls with &. It's not required in Perl 5+ and has side-effects that you probably don't expect.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||