is short forwhile (<...>)
while (defined($_ = <...>))
local *_; prevents the clobbering of the parent's $_. my $_; would also do the trick in Perl 5.10+
In reply to Re^3: Search, Match, Compare, and Report
by ikegami
in thread Search, Match, Compare, and Report
by kirkbrown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |