Packages / openSUSE Tumbleweed / perl-Devel-Hide

Package: perl-Devel-Hide (0.0016-1.4)

Forces the unavailability of specified Perl modules (for testing)

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/ToHide.pm in @INC (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 script_which_uses_xml_simple.pl NOTE. This module does not use Carp. As said before, denial _dies_. 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: * import() this is probably the most commonly used method, called automagically when you do this: use Devel::Hide qw(Foo Bar::Baz); or perl -MDevel::Hide=... * setting @Devel::Hide::HIDDEN * environment variable DEVEL_HIDE_PM both of these two only support 'global' hiding, whereas 'import()' supports lexical hiding as well. Optionally, you can provide some arguments *before* the list of modules: * -from:children propagate the list of hidden modules to your process' child processes. This works by populating 'PERL5OPT', and is incompatible with Taint mode, as explained in perlrun. Of course, this is unnecessary if your child processes are just forks of the current one. * -lexically This is only available on perl 5.10.0 and later. It is a fatal error to try to use it on an older perl. Everything following this will only have effect until the end of the current scope. Yes, that includes '-quiet'. * -quiet suppresses diagnostic output. You will still get told about errors. This is passed to child processes if -from:children is in effect.

Package information

Homepage
[https://metacpan.org/release/Devel-Hide]
License
Artistic-1.0 OR GPL-1.0-or-later
Downstream package maintainer
Unknown: not reported in the indexed source
Source package
[perl-Devel-Hide]
Software project
[libdevel-hide-perl]

Versions and downloads for perl-Devel-Hide

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
0.0016-1.4tumbleweed / ossnoarchopenSUSE Tumbleweed · OSS · multi-architecture21 KiB20 KiBlist of filesperl-Devel-Hide-0.0016-1.4.noarch.rpm
About these downloads

Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.

Dependencies and recommendations for perl-Devel-Hide

  • dep: perl(:MODULE_COMPAT_5.44.0)

    Package not available

  • dep: perl(Test::More) (>= 0.82)

    Package not available

Package file paths (6)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.44.0/Devel
  • /usr/lib/perl5/vendor_perl/5.44.0/Devel/Hide.pm
  • /usr/share/doc/packages/perl-Devel-Hide
  • /usr/share/doc/packages/perl-Devel-Hide/Changes
  • /usr/share/doc/packages/perl-Devel-Hide/README
  • /usr/share/man/man3/Devel::Hide.3pm.gz

Field source: openSUSE Tumbleweed OSS

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.0016-1.4 / noarchObserved Sep 1, 2026sha512 5f9d06599bc8…98c368c3Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 5f9d06599bc89b407c438b7fc4324d3167cbbccff674b3822b67f643a77dc60e1fdbd9a08e74eed33727ab677480b227a921a3e64aba9caaf7cac6a298c368c3

Field source: openSUSE Tumbleweed OSS

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    tumbleweed-oss-multiarch:4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f

    Repository-signature verification record
    Signed-object SHA-256
    4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Use this package

OpenFactory can boot this operating system in a browser VM, or start a build that includes the native package name from this record.