Name : perl-warnings-compat
| |
Version : 0.07
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.7.1
| Date : 2023-07-20 18:35:36
|
Group : Development/Libraries/Perl
| Source RPM : perl-warnings-compat-0.07-lp155.7.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : warnings.pm emulation for pre-5.6 Perls
|
Description :
This is a module to help writing portable programs and modules across recent and old versions of Perl by providing a unique API to enable and disable warnings. Under the hood, it will use the real \'warnings.pm\' module when available, or install and use an emulation compatible with Perl 5.000. Therefore, \'use warnings::compat\' should do the right thing on every Perl version.
If you want this module to be automatically installed by the CPAN shell on old Perls, simply add it to the prerequisites list in your _Makefile.PL_:
PREREQ_PM => { \"warnings::compat\" => 0, }
Note that only the files needed for your version of Perl will be installed (i.e., it won\'t install or overwrite the emulation modules on Perl 5.6 and later).
If you prefer to install it only on modern Perls, you can use this variant:
push AATTextra_prereqs, \"warnings::compat\" if $] < 5.006;
WriteMakefile( ... PREREQ_PM => { ... AATTextra_prereqs, }, );
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/15.5/noarch |