develooper Front page | perl.perl6.language | Postings from May 2001

Re: Apoc2 - <STDIN> concerns

From:
David L. Nicol
Date:
May 8, 2001 14:15
Subject:
Re: Apoc2 - <STDIN> concerns
Message ID:
3AF86120.6E004D03@kasey.umkc.edu
John Porter wrote:
> 
> Pardon me if someone has already suggested this, but...
> Couldn't labels really be (aliases to) iterator objects?
> So that
>         next FOO
> really *does* mean
>         FOO.next
> 

Marvelous!  That also wraps up the "for should have an explicit
iterator access method" thread handily!  Just label your loop and
there you are!




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About