in reply to Re: Re: File I/O while using Sockets?
in thread File I/O while using Sockets?

See the documentation for chomp. It only affects a string if there's the value of $/ at the end. It's "safe" like that.