Sat, 21 Nov 2026 00:25:08 UTC Log in
Keep imports out of your namespace 65.34 KB built 2026-10-17 03:00:38 GMT

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.

Dependencies

33 total
Requires32
  • coreutils
  • findutils
  • make
  • perl(B::Hooks::EndOfScope) >= 0.12
  • perl(CPAN::Meta) >= 2.120900
  • perl(Carp)
  • perl(Class::MOP)
  • perl(ExtUtils::MakeMaker)
  • perl(File::Basename)
  • perl(File::Spec)
  • perl(FindBin)
  • perl(List::Util)
  • perl(Moo) >= 1.004000
  • perl(Moose) >= 0.56
  • perl(Moose::Role)
  • perl(MooseX::Role::WithOverloading) >= 0.09
  • perl(Mouse)
  • perl(Scalar::Util)
  • perl(Sub::Install)
  • perl(Sub::Name)
  • perl(Sub::Util) >= 1.40
  • perl(Test::More) >= 0.88
  • perl(Test::Needs)
  • perl(constant)
  • perl(namespace::clean) >= 0.20
  • perl(overload)
  • perl(strict)
  • perl(warnings)
  • perl-generators
  • perl-interpreter
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-namespace-autoclean = 0.31-5.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots