in reply to $/ = undef question
Just as an aside, it seems like you're using "local" as part of a religious adherance to habit. Specifying "local" when you're in the highest level scope possible isn't going to do anything useful, since when you leave this scope it is because your program is exiting. :-)