Perl::Critic::Policy::Subroutines::ProhibitExportingUndeclaredSubs
This policy is part of Perl::Critic::StricterSubs.
This Policy checks that any subroutine listed in @EXPORT or @EXPORT_OK is actually defined in the current file.
@EXPORT
@EXPORT_OK
Jeffrey Ryan Thalhammer <thaljef@cpan.org>
Copyright (c) 2007 Jeffrey Ryan Thalhammer. 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.
To install Perl::Critic::StricterSubs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::StricterSubs
CPAN shell
perl -MCPAN -e shell install Perl::Critic::StricterSubs
For more information on module installation, please visit the detailed CPAN module installation guide.