perl-Devel-Hide - Forces the unavailability of specified Perl modules (for testing)

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-Devel-Hide
Package version 0.0009
Package release 8.1
Package architecture noarch
Package type rpm
Installed size 14.60 KB
Download size 13.85 KB
Official Mirror
Given a list of Perl modules/filenames, this module makes 'require' and
'use' statements fail (no matter the specified files/modules are installed
or not).
They _die_ with a message like:
Can't locate Module/ (hidden)
The original intent of this module is to allow Perl developers to test for
alternative behavior when some modules are not available. In a Perl
installation, where many modules are already installed, there is a chance
to screw things up because you take for granted things that may not be
there in other machines.
For example, to test if your distribution does the right thing when a
module is missing, you can do
perl -MDevel::Hide=Test::Pod Makefile.PL
forcing 'Test::Pod' to not be found (whether it is installed or not).
Another use case is to force a module which can choose between two
requisites to use the one which is not the default. For example,
'XML::Simple' needs a parser module and may use 'XML::Parser' or 'XML::SAX'
(preferring the latter). If you have both of them installed, it will always
try 'XML::SAX'. But you can say:
perl -MDevel::Hide=XML::SAX
NOTE. This module does not use the Carp manpage. As said before, denial
This module is pretty trivial. It uses a code reference in @INC to get rid
of specific modules during require - denying they can be successfully
loaded and stopping the search before they have a chance to be found.
There are three alternative ways to include modules in the hidden list:
* *
setting @Devel::Hide::HIDDEN
* *
environment variable DEVEL_HIDE_PM
* *
Optionally, you can propagate the list of hidden modules to your process'
child processes, by passing '-from:children' as the first option when you
use() this module. This works by populating 'PERL5OPT', and is incompatible
with Taint mode, as explained in the perlrun manpage.


Package Version Architecture Repository
perl-Devel-Hide - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(Devel::Hide) = 0.0009
perl-Devel-Hide = 0.0009-8.1


Type URL
Binary Package perl-Devel-Hide-0.0009-8.1.noarch.rpm
Source Package perl-Devel-Hide-0.0009-8.1.src.rpm

Install Howto

Install perl-Devel-Hide rpm package:

# zypper install perl-Devel-Hide

See Also

Package Description
perl-Devel-Leak-0.03-28.2.x86_64.rpm Utility for looking for perl objects that are not reclaimed
perl-Devel-LexAlias-0.05-6.2.x86_64.rpm alias lexical variables
perl-Devel-NYTProf-6.03-1.14.x86_64.rpm Powerful fast feature-rich Perl source code profiler
perl-Devel-OverloadInfo-0.004-2.1.noarch.rpm Introspect Overloaded Operators
perl-Devel-PPPort-3.34-1.1.x86_64.rpm Perl/Pollution/Portability
perl-Devel-PartialDump-0.18-2.1.noarch.rpm Partial dumping of data structures, optimized for argument printing
perl-Devel-PatchPerl-1.42-1.1.x86_64.rpm Patch perl source a la Devel::PPPort's
perl-Devel-StackTrace-2.01-1.1.noarch.rpm An object representing a stack trace
perl-Devel-StackTrace-AsHTML-0.15-1.1.noarch.rpm Displays stack trace in HTML
perl-Devel-Symdump-2.11-4.2.noarch.rpm Dump symbol names or the symbol table
perl-Devel-TakeHashArgs-0.006-1.1.noarch.rpm Make a Hash From @_ and Set Defaults in Subs While Checking That All Man[cut]
perl-Device-SerialPort-1.04-29.2.x86_64.rpm Linux/POSIX emulation of Win32::SerialPort functions
perl-Digest-CRC-0.21-4.2.x86_64.rpm Generic CRC functions
perl-Digest-HMAC-1.03-21.2.noarch.rpm Keyed-Hashing for Message Authentication
perl-Digest-JHash-0.08-6.2.x86_64.rpm Perl extension for 32 bit Jenkins Hashing Algorithm