n still run without a module (e.g. an
optional prereq):
% perl -Mlib::filter=disallow,'YAML::XS;JSON::XS' yourscript.pl
# idem, but the list of disallowed modules are retrieved from a file
% perl
de> is another module which you can you for exactly this purpose:
% perl -MDevel::Hide=YAML::XS,JSON::XS yourscript.pl
To no-op instead of disallowing, see L<lib::noop>.
=item * Do custom filterin