in reply to Re: File Writing and newline
in thread File Writing and newline

local $\=''; would be much safer, as it make sure the variable returns to it's previous state when it goes out of scope.

~Particle