http://qs321.pair.com?node_id=1204806


in reply to Re: Basic debugging checklist
in thread Basic debugging checklist

I think the "\n" stems from (originally) just replacing print with warn.

Replies are listed 'Best First'.
Re^3: Basic debugging checklist
by QM (Parson) on Dec 05, 2017 at 12:02 UTC
    It has always been well documented that warn or die, with a terminating newline, doesn't emit the line and file info. But warn with a newline is essentially the same as print STDERR, if a little more self-documenting.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of