in reply to Iterator as a Class or Object Method
You simply pass in a subref of code you want executed for each iteration, and let the object instance method do the iteration work, and call your subref as necessary.
"Man cannot live by bread alone...
He'd better have some goat cheese and wine to go with it!"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Iterator as a Class or Object Method
by dragonchild (Archbishop) on Oct 03, 2005 at 11:07 UTC | |
by Anonymous Monk on Oct 03, 2005 at 14:56 UTC | |
|
Re^2: Iterator as a Class or Object Method
by BUU (Prior) on Oct 03, 2005 at 10:28 UTC | |
by adrianh (Chancellor) on Oct 03, 2005 at 13:39 UTC | |
by NetWallah (Canon) on Oct 03, 2005 at 19:59 UTC | |
by BUU (Prior) on Oct 03, 2005 at 21:26 UTC | |
by Anonymous Monk on Oct 03, 2005 at 21:45 UTC | |
by NetWallah (Canon) on Oct 04, 2005 at 00:05 UTC | |
by adrianh (Chancellor) on Oct 04, 2005 at 12:12 UTC |