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

Re: Apoc2 - <STDIN> concerns

From:
John Porter
Date:
May 8, 2001 11:47
Subject:
Re: Apoc2 - <STDIN> concerns
Message ID:
20010508144719.B16262@min.net
Simon Cozens wrote:
> John Porter wrote:
> > C<next FOO> looks like a method call
> 
> It doesn't, 

Oh, but it does, to the perl6 programmer who's used to
thinking 
	$source.next
(or its "indirect object" alternative,
	next $source
) iterates the iterator in $source.

Not that there are any such people.  Yet.

-- 
John Porter




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