|Don't ask to ask, just ask|
Re: Very curious Problem...by LanX (Abbot)
|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: