http://www.perlmonks.org?node_id=744954


in reply to RFC: Basic debugging checklist

warn() is better than print() unless you have set $|=1. Buffering gets in the way if you're tracking down the location of a problem. Especially if it's a coredump.