made to read into $_ variable. Either save it's value by "local" operator, or use following special-case construct:while (<FILEHANDLE>) { }
while ($var_to_receive_a_line = <FILEHANDLE>) { }
In reply to Re: When does while set $_ ?
by Anonymous Monk
in thread When does while set $_ ?
by crenz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |