in reply to Doubt on defined-ness
Not quite. while (<FH>) is shorthand forwhile (<FH>) ...is the same as doing
while ($_=<FH>) ...
while (defined($_ = <FH>))
Which should clear up the other half of your confusion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Doubt on defined-ness
by waldner (Beadle) on Jun 18, 2008 at 19:25 UTC | |
by FunkyMonk (Bishop) on Jun 18, 2008 at 19:41 UTC | |
by ikegami (Patriarch) on Jun 18, 2008 at 22:54 UTC |