in reply to Auto-localization of $_ in while(<>)
and avoid some of the problems that can happen with local when the previous $_ is aliased to something that objects to being localized.while (my $_ = <>) { }
But, no, I don't see while() changing to no longer have the modified $_ available after the loop.
|
|---|