SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-namespace-autoclean rpm build for : OpenSuSE. For other distributions click perl-namespace-autoclean.

Name : perl-namespace-autoclean
Version : 0.29 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 15:17:50
Group : Development/Libraries/Perl Source RPM : perl-namespace-autoclean-0.29-lp155.1.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : Keep imports out of your namespace
Description :
When you import a function into a Perl package, it will naturally also be
available as a method.

The \'namespace::autoclean\' pragma will remove all imported symbols at the
end of the current package\'s compile cycle. Functions called in the package
itself will still be bound by their name, but they won\'t show up as methods
on your class or instances.

This module is very similar to namespace::clean, except it will clean all
imported functions, no matter if you imported them before or after you
\'use\'d the pragma. It will also not touch anything that looks like a
method.

If you\'re writing an exporter and you want to clean up after yourself (and
your peers), you can use the \'-cleanee\' switch to specify what package to
clean:

package My::MooseX::namespace::autoclean;
use strict;

use namespace::autoclean (); # no cleanup, just load

sub import {
namespace::autoclean->import(
-cleanee => scalar(caller),
);
}

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-namespace-autoclean-0.29-lp155.1.1.noarch.rpm
     

Provides :
perl(namespace::autoclean)
perl-namespace-autoclean

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(B::Hooks::EndOfScope) >= 0.12
perl(Sub::Identify)
perl(namespace::clean) >= 0.20
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/namespace
/usr/lib/perl5/vendor_perl/5.26.1/namespace/autoclean.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-namespace-autoclean
/usr/share/doc/packages/perl-namespace-autoclean/CONTRIBUTING
/usr/share/doc/packages/perl-namespace-autoclean/Changes
/usr/share/doc/packages/perl-namespace-autoclean/README
/usr/share/licenses/perl-namespace-autoclean
/usr/share/licenses/perl-namespace-autoclean/LICENCE
/usr/share/man/man3/namespace::autoclean.3pm.gz

 
ICM