I use autodie to handle exceptions from built-ins. Unfortunately its scope is lexical, autodie does not work with methods. Is it possible to throw exceptions from my class methods so that they are handled in the same manner like autodie exceptions. In short, I dont want users of my classes to handle exceptions in two ways - one with the rich exception class that autodie provides for built-ins and another for the simple "die if ..." that my code throws.
If it helps, I use Moose to build my classes