DOKK / manpages / debian 12 / perl-doc / autodie::skip.3perl.en
autodie::skip(3perl) Perl Programmers Reference Guide autodie::skip(3perl)

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 Path::Tiny 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.

autodie, autodie::exception

2023-11-25 perl v5.36.0