The stupid question is the question not asked | |
PerlMonks |
Re: Array iterator factoryby ihb (Deacon) |
on Mar 17, 2005 at 12:02 UTC ( [id://440342]=note: print w/replies, xml ) | Need Help?? |
Nice. I like this function more than the array iterator classes I've seen. The &$iter; syntax in the documentation is evil though. If you use it it will break things sooner or later. It's better to change them all to $iter->(). (See perlfaq7, "What's the difference between calling a function as &foo and foo()?") ihb
See perltoc if you don't know which perldoc to read!
In Section
Cool Uses for Perl
|
|