|Welcome to the Monastery|
Re: Very curious Problem...by LanX (Canon)
|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: