in reply to Array iterator factory
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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Array iterator factory (())
by tye (Sage) on Mar 17, 2005 at 16:46 UTC | |
by ihb (Deacon) on Mar 17, 2005 at 19:12 UTC | |
Re^2: Array iterator factory
by Roy Johnson (Monsignor) on Mar 17, 2005 at 12:13 UTC |
In Section
Cool Uses for Perl