On Fri, Jan 18, 2002 at 08:03:41PM -0800, Larry Wall wrote:
> : allow this:
> : 
> :     File.foreach('/usr/dict/words') { print }
> 
>     File.foreach('/usr/dict/words', { print })
> 
> or even (presuming the prototype is available for parsing):
> 
>     File.foreach '/usr/dict/words' { print }

Now I'm a little confused.  The apoc talked about writing your own
while loop.  A while loop looks like:

    while($something) { do_this }

and a custom while loop would have to be

    mywhile($something) { do_this }

and it doesn't seem much of a stretch for

    Class.method($something) { do_this }

or is that what you ment by "ignoring parser issues"?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
Death was thought to be fatal.
        -- Craig A. Berry in <a05101002b8165afc6b62@[172.16.52.1]>

Reply via email to