Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by stevieb (Canon)
on May 30, 2018 at 22:36 UTC ( [id://1215514]=note: print w/replies, xml ) Need Help??


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

From my experience, mucking with the likes of caller and/or any aspect of such an undertaking of tracking and reporting from nested modules and subs is fraught with frustration, angst, head-desking and oftentimes throwing things... particularly when dealing with anony-subs and the like :)

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

Replies are listed 'Best First'.
Re^4: Should I use carp/croak or warn/die (@CARP_NOT)
by shmem (Chancellor) on May 31, 2018 at 00:10 UTC

    That's right. But sometimes caller is needed to implement nifty YAGNIs :)

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-26 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found