http://qs1969.pair.com?node_id=96362


in reply to (Fixed) Re: unGodly problems with pop()
in thread unGodly problems with pop()

This is a bit of a quibble, but don't use chop to get rid of newlines like \r and \n. Use chomp instead. It'll only get rid of newlines at the end, not the last character. So, you can safely chomp anything without verifying that it indeed does have newlines at the end.