SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Package-DeprecationManager rpm build for : OpenSuSE. For other distributions click perl-Package-DeprecationManager.

Name : perl-Package-DeprecationManager
Version : 0.18 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.35.1 Date : 2023-12-08 01:21:56
Group : Unspecified Source RPM : perl-Package-DeprecationManager-0.18-lp156.35.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : Manage deprecation warnings for your distribution
Description :
This module allows you to manage a set of deprecations for one or more
modules.

When you import \'Package::DeprecationManager\', you must provide a set of
\'-deprecations\' as a hash ref. The keys are \"feature\" names, and the values
are the version when that feature was deprecated.

In many cases, you can simply use the fully qualified name of a subroutine
or method as the feature name. This works for cases where the whole
subroutine is deprecated. However, the feature names can be any string.
This is useful if you don\'t want to deprecate an entire subroutine, just a
certain usage.

You can also provide an optional array reference in the \'-ignore\'
parameter.

The values to be ignored can be package names or regular expressions (made
with \'qr//\'). Use this to ignore packages in your distribution that can
appear on the call stack when a deprecated feature is used.

As part of the import process, \'Package::DeprecationManager\' will export
two subroutines into its caller. It provides an \'import()\' sub for the
caller and a \'deprecated()\' sub.

The \'import()\' sub allows callers of _your_ class to specify an
\'-api_version\' parameter. If this is supplied, then deprecation warnings
are only issued for deprecations with API versions earlier than the one
specified.

You must call the \'deprecated()\' sub in each deprecated subroutine. When
called, it will issue a warning using \'Carp::cluck()\'.

The \'deprecated()\' sub can be called in several ways. If you do not pass
any arguments, it will generate an appropriate warning message. If you pass
a single argument, this is used as the warning message.

Finally, you can call it with named arguments. Currently, the only allowed
names are \'message\' and \'feature\'. The \'feature\' argument should correspond
to the feature name passed in the \'-deprecations\' hash.

If you don\'t explicitly specify a feature, the \'deprecated()\' sub uses
\'caller()\' to identify its caller, using its fully qualified subroutine
name.

A given deprecation warning is only issued once for a given package. This
module tracks this based on both the feature name _and_ the error message
itself. This means that if you provide several different error messages for
the same feature, all of those errors will appear.

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

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Package-DeprecationManager-0.18-lp156.35.1.noarch.rpm
     

Provides :
perl(Package::DeprecationManager)
perl-Package-DeprecationManager

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(List::Util) >= 1.33
perl(Package::Stash)
perl(Params::Util)
perl(Sub::Install)
perl(Sub::Util)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Package
/usr/lib/perl5/vendor_perl/5.26.1/Package/DeprecationManager.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Package-DeprecationManager
/usr/share/doc/packages/perl-Package-DeprecationManager/CODE_OF_CONDUCT.md
/usr/share/doc/packages/perl-Package-DeprecationManager/CONTRIBUTING.md
/usr/share/doc/packages/perl-Package-DeprecationManager/Changes
/usr/share/doc/packages/perl-Package-DeprecationManager/README.md
/usr/share/licenses/perl-Package-DeprecationManager
/usr/share/licenses/perl-Package-DeprecationManager/LICENSE
/usr/share/man/man3/Package::DeprecationManager.3pm.gz

 
ICM