Perl::...edSubs(3pm)

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

πŸ’– Perl::...edSubs(3pm) πŸ’–

okay bestie, welcome to the manual page for Perl::Critic::Policy::Subroutines::ProhibitExportingUndeclaredSubs, served up in User Contributed Perl Documentation energy. yes the title's abbreviated like that because the real name is a whole paragraph, we don't make the rules. sit down, grab a strawberry πŸ“, let's get into it.


✨ NAME ✨

Perl::Critic::Policy::Subroutines::ProhibitExportingUndeclaredSubs β€” that's the whole government name, no nicknames, no shortening, we said it with our chest πŸ’…


🌸 AFFILIATION 🌸

This policy is part of Perl::Critic::StricterSubs. so like, it's not a lone wolf, it runs with its little friend group 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe check: this Policy goes through everything you listed in @EXPORT or @EXPORT_OK and makes sure each one of those subs is actually defined in the current file.

like… if you're out here promising the world that you're exporting frobnicate, bestie, frobnicate needs to exist. no ghost subs. no imaginary friends in your export list. it's giving "manifesting" but for code, and Perl::Critic is not about that life 😭

if it's in your export list but not in your file, this policy will absolutely notice. periodt. πŸ”₯


πŸŽ€ AUTHOR πŸŽ€

Jeffrey Ryan Thalhammer <thaljef@cpan.org> β€” legend behavior, honestly πŸ‘‘


Copyright 2007-2024 Jeffrey Ryan Thalhammer and Andy Lester

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.

fr fr, read the LICENSE file, it's right there in the module, it costs you nothing 🧚

and that's the whole page, bestie! 🌈 this lil masterpiece was brought to you by perl v5.42.0, dated 2025-07-25, and filed under that iconic abbreviated name Perl::...edSubs(3pm) β€” iykyk πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from