Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: backwards compatible 'die $obj'

by perlancar (Hermit)
on Sep 28, 2021 at 02:00 UTC ( [id://11137076]=note: print w/replies, xml ) Need Help??


in reply to backwards compatible 'die $obj'

Maybe something like Object::Util::Stringify can help? It can be used with other exception framework or just without.

Replies are listed 'Best First'.
Re^2: backwards compatible 'die $obj'
by LanX (Saint) on Sep 28, 2021 at 12:02 UTC
    Thanks, but how to implement stringification via overload is not the real problem here.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found