SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Acme-CPANModules-CheckingModuleInstalledLoadable rpm build for : openSUSE Tumbleweed. For other distributions click perl-Acme-CPANModules-CheckingModuleInstalledLoadable.

Name : perl-Acme-CPANModules-CheckingModuleInstalledLoadable
Version : 0.002 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.7 Date : 2024-08-05 17:38:17
Group : Unspecified Source RPM : perl-Acme-CPANModules-CheckingModuleInstalledLoadable-0.002-1.7.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : List of modules to check if a module is installed or loadable
Description :
If you simply want to check that a module\'s \'.pm\' file is locatable in
\'AATTINC\', you can just do something like:

my $mod = \"Foo/Bar.pm\";
for my $dir (AATTINC) {
next if ref $dir;
if (-f \"$dir/$mod\") {
print \"Module $mod is installed\";
last;
}
}

Or you can use something like Module::Path or Module::Path::More which does
similar to the above.

A module can also be loaded from a require hook in ~AATTINC~ (like in the case
of fatpacked or datapacked script) and the above methods does not handle
it. Instead, you\'ll need to use Module::Load::Conditional\'s \'check_install\'
or Module::Installed::Tiny\'s \'module_installed\':

use Module::Load::Conditional qw(check_install);
if (check_install(module => \"Foo::Bar\")) {

}

The above does not guarantee that the module will be loaded successfully.
To check that, there\'s no other way but to actually try to load it:

if (eval { require Foo::Bar; 1 }) {

}

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Acme-CPANModules-CheckingModuleInstalledLoadable-0.002-1.7.noarch.rpm
     

Provides :
perl(Acme::CPANModules::CheckingModuleInstalledLoadable)
perl-Acme-CPANModules-CheckingModuleInstalledLoadable

Requires :
perl(:MODULE_COMPAT_5.40.0)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Acme
/usr/lib/perl5/vendor_perl/5.40.0/Acme/CPANModules
/usr/lib/perl5/vendor_perl/5.40.0/Acme/CPANModules/CheckingModuleInstalledLoadable.pm
/usr/share/doc/packages/perl-Acme-CPANModules-CheckingModuleInstalledLoadable
/usr/share/doc/packages/perl-Acme-CPANModules-CheckingModuleInstalledLoadable/Changes
/usr/share/doc/packages/perl-Acme-CPANModules-CheckingModuleInstalledLoadable/README
/usr/share/licenses/perl-Acme-CPANModules-CheckingModuleInstalledLoadable
/usr/share/licenses/perl-Acme-CPANModules-CheckingModuleInstalledLoadable/LICENSE
/usr/share/man/man3/Acme::CPANModules::CheckingModuleInstalledLoadable.3pm.gz

 
ICM