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 class DOES "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 🌈

  • autodie
  • autodie::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