Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Basic debugging checklist

by soonix (Canon)
on Dec 03, 2017 at 14:44 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1204806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found