Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Should I use carp/croak or warn/die

by LanX (Sage)
on May 31, 2018 at 19:33 UTC ( #1215568=note: print w/replies, xml ) Need Help??


in reply to Re^2: Should I use carp/croak or warn/die
in thread Should I use carp/croak or warn/die

Yeah I noticed in the meantime

See Re^4: Should I use carp/croak or warn/die (@CARP_NOT)

Though I'm not happy about the documentation.

the Synopsis says

> warn user (from perspective of _caller_)

But later the doc says inside the text

> carp() or croak() which report the error as being from where your module was called.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: Should I use carp/croak or warn/die

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-12-01 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?