Another New module on its way to CPAN

Duggie duggie-belfast-pm at blackstar.co.uk
Sat Nov 30 08:47:26 CST 2002


On (30/11/02 13:32), Liyang HU wrote:
> You can get it at:
> 
>     http://nerv.cx/liyang/perl/ForLoop-0.0.0.0.0.0.1.tar.gz
> 
> What does it do? One thing and one thing only: it takes a sub ref,
> passing it a numeric value successively between two limits you specify.
> e.g.:
> 
>     for_loop(1, 10, sub { print shift(). " of ten!" });

This is exactly what I've been looking for! It's going to clean up so much 
of my code!

Duggie



More information about the Belfast-pm mailing list