in reply to Bad code from the trenches

If you're going to worry about the possiblity of someone leaving $/ in a bizarre state, you'll have to worry about dozens of other global perl settings too. Better to just make a rule: don't change global settings unless you have to, and even then do it with local().

Replies are listed 'Best First'.
Re^2: Bad code from the trenches
by Whitehawke (Pilgrim) on Mar 14, 2005 at 20:20 UTC
    True. That's why I said it was a trivial thing and probably not worth worrying about.