|go ahead... be a heretic|
Re: Very curious Problem...by LanX (Chancellor)
|on Jan 23, 2013 at 09:06 UTC||Need Help??|
> Why $_ is changed??
while(<STATUS>) sets $_ (see perlop ¹) and $_ is global.
Maybe you rather wanna use:
while (my $line = <STATUS>)
The following lines are equivalent: