http://www.perlmonks.org?node_id=135680


in reply to Loops, the scalar range operator, and objects

Very very nice! I only wish I could ++ more than once.

I also very much like the use of an object to handle everything. And, if you use this as a Facade, then you get all sorts of reusability. To extend your idea just a little...

All Loop_control would do would be the client. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

  • Comment on Re: Loops, the scalar range operator, and objects