Exherbo
Git
GitLab
Packages
dev-perl/Test-Without-Module
Test fallback behaviour in absence of modules.
Versions
Slot
Version
Repository
Platforms
0
0.21
perl
~amd64
arm?
armv7?
armv8?
x86?
Metadata
Homepage
https://metacpan.org/release/Test-Without-Module/
Summary
Test fallback behaviour in absence of modules
Description
This module allows you to deliberately hide modules from a program even though they are installed. This is mostly useful for testing modules that have a fallback when a certain dependency module is not installed. EXPORT None. All magic is done via "use Test::Without::Module LIST" and "no Test::Without::Module LIST". Test::Without::Module::get_forbidden_list This function returns a reference to a copy of the current hash of forbidden modules or an empty hash if none are currently forbidden. This is convenient if you are testing and/or debugging this module.
Upstream changelog
https://metacpan.org/changes/distribution/Test-Without-Module
Dependencies
(
build+run:
dev-lang/perl:=
)
Downloads
mirror://cpan/authors/id/C/CO/CORION/Test-Without-Module-0.21.tar.gz
Licences
|| (
Artistic
GPL-1
GPL-2
GPL-3
)