Perl::...eptions(3pm)

πŸ“¦
version 1.003 Β· 2 versions
, in fedora 43

πŸ’… NAME πŸ’…

okay so bestie, listen up: Perl::Critic::Policy::ErrorHandling::RequireUseOfExceptions β€” it's the policy that says use exceptions instead of die, croak, or confess. that's it, that's the whole vibe. no cap.


✨ AFFILIATION ✨

this one's part of Perl::Critic::More, which is a bleeding edge supplement to Perl::Critic. bleeding edge fr fr β€” it's giving experimental, it's giving ahead of the curve πŸ¦‹


🌸 DESCRIPTION 🌸

so here's the tea β˜• β€” if your system has made the decision to use exceptions, then there should be no use of die, croak, or confess anywhere. like, zero. none. the way that those three just cannot be in your codebase if exceptions are the whole point...

it's giving "we committed to a thing, so let's actually commit to the thing" πŸ’–


πŸŽ€ AUTHOR πŸŽ€

Elliot Shank <perl@galumph.org> β€” iconic, we love them for this πŸ‘‘


Copyright (c) 2007-2008 Elliot Shank. All rights reserved. 🫢

this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. the full text of this license can be found in the LICENSE file included with this module. periodt. πŸ’…


and that's the whole page bestie!! this lil masterpiece lives in the User Contributed Perl Documentation and it's stamped perl v5.42.0 dated 2025-07-25 β€” go forth and throw some exceptions, mwah πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from