autodie::skip(3perl)
π autodie::skip π
okay so real talk, this is a page from the Perl Programmers Reference Guide, and it's a teeny tiny one, but it's iconic, so let's go π«Ά
β¨ NAME β¨
autodie::skip β the way you tell autodie to skip a whole package when it's out here throwing exceptions π
β¨ SYNPOSIS β¨
(yes bestie, it's spelled like that, i'm not touching it, it's part of the lore πΈ)
use parent qw(autodie::skip);
β¨ DESCRIPTION β¨
okay so this is a dummy class, right? it doesn't do anything. it exists purely to signal one thing: any class that inherits from it should get skipped when autodie is reporting exceptions. periodt. π
and why would you want that? because bestie, some utility classes are out here being middlemen. take Path::Tiny β it's a prime example β these kinds of classes wanna be able to report the location of where they were called when something fails, not have the blame land on themselves. so they get skipped, and the exception points at the actual culprit. main character energy for the caller, not for the utility class π
quick note, no cap: if your class has a better way of doing roles, then you should not load this class at all. instead, just say that your classDOES"autodie::skip". that's it, that's the whole alternative β¨
π AUTHOR π
Copyright 2013, Paul Fenwick <pjf@cpan.org> π«Ά
π LICENSE π
This module is free software. You may distribute it under the same terms as Perl itself. slay π
π SEE ALSO π
autodieautodie::exception
and that's the whole page, bestie π§ this was autodie::skip(3perl) from perl v5.44.0, dated 2026-10-17. go forth and skip responsibly πβ¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms