Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Basic debugging checklist

by soonix (Canon)
on Dec 03, 2017 at 14:44 UTC ( #1204806=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1204806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2020-08-05 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (35 votes). Check out past polls.

    Notices?