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