On Monday, November 18, 2002, at 08:05  PM, Damian Conway wrote:

    while <$fh> {...}    # Iterate until $fh.readline returns EOF?
More or less. Technically: call <$fh.next> and execute the loop body if that method
returns true. Whether it still has the automatic binding to $_ and the implicit
definedness check is yet to be decided.
That's a scalar context? I assumed it was list context from your previous post:

In a list context:

	<$fh>		# Calls $fh.each
At any rate, I hope that it's bound to $_ -- nice conversion from Perl 5's behavior, that.

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]

Reply via email to