On 2012-04-10 06:05, Rob Dixon wrote:

while (<FILEHANDLE>) {
:
}

is identical to

while (readline FILEHANDLE) {
    :
}

which compiles as

while (defined($_ = readline FILEHANDLE)) {
    :
}

Not accurate, you can check with -MO=Deparse.

--
Ruud

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to