On Fri, Jun 29, 2001 at 02:58:20PM -0400, Jeff 'japhy' Pinyan wrote:
> No there is not.  Either do:
> 
>   my $i = 0;
>   for (@foo) {
>     # ...
>   }
>   continue { $i++ }
> 
> or do:
> 
>   for my $i (0 .. $#foo) {
>     my $element = $foo[$i];
>     # ...
>   }

or

    for (my $i = 0; $i < @foo; $i++) {
        ...
    }

for (;;) isn't a bad word.  :)


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

Reply via email to