On Sep 18, 2006, at 3:53 PM, Shlomi Fish wrote:

> Well, here is my attempt at writing such an iterator. Using it one  
> gets the
> following program:

.... which only demonstrates so clearly that it's far far better to  
simply

my $n = 0;
for ( @array ) {
    ++$n;
    ....
}

Flyswatter vs. shotgun

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to