autodie::skip - Skip a package when throwing autodie exceptions |
autodie::skip - Skip a package when throwing autodie exceptions
use parent qw(autodie::skip);
This dummy class exists to signal that the class inheriting it should be skipped when reporting exceptions from autodie. This is useful for utility classes like the Path::Tiny manpage that wish to report the location of where they were called on failure.
If your class has a better way of doing roles, then you should not
load this class and instead simply say that your class DOES
autodie::skip
instead.
Copyright 2013, Paul Fenwick <pjf@cpan.org>
This module is free software. You may distribute it under the same terms as Perl itself.
the autodie manpage, the autodie::exception manpage
autodie::skip - Skip a package when throwing autodie exceptions |