in reply to Re^2: sub that sets $_
in thread sub that sets $_

Yes. Actually, nobull recently made the case for localizing *_ instead of $_, although this added precaution is probably more important for functions and methods in modules than for top-level code.

the lowliest monk