autodie::skip(3p) Perl Programmers Reference Guide autodie::skip(3p) #
autodie::skip(3p) Perl Programmers Reference Guide autodie::skip(3p)
NNAAMMEE #
autodie::skip - Skip a package when throwing autodie exceptions
SSYYNNPPOOSSIISS #
use parent qw(autodie::skip);
DDEESSCCRRIIPPTTIIOONN #
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 _D_O_E_S "autodie::skip"
instead.
AAUUTTHHOORR #
Copyright 2013, Paul Fenwick <pjf@cpan.org>
LLIICCEENNSSEE #
This module is free software. You may distribute it under the same terms
as Perl itself.
SSEEEE AALLSSOO #
autodie, autodie::exception
perl v5.36.3 2023-02-15 autodie::skip(3p)