NAME
lib::allow - Only allow a list of modules to be locateable/loadable
VERSION
This document describes version 0.18 of lib::allow (from Perl distribution lib-filter), released on 2015-06-29.
SYNOPSIS
% perl -Mlib::allow=XSLoader,List::Util yourscript.pl
DESCRIPTION
This pragma is a shortcut for lib::filter. This:
use lib::allow qw(Foo Bar::Baz Qux);
is equivalent to:
use lib::filter allow_core=>0, allow_noncore=>0, allow=>'Foo;Bar::Baz;Qux';
SEE ALSO
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/lib-filter.
SOURCE
Source repository is at https://github.com/perlancar/perl-lib-filter.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=lib-filter
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.