Sun, 08 Nov 2026 18:55:45 UTC Log in
Keep your namespace tidy 44.42 KB built 2026-10-17 03:00:45 GMT

Description

When you define a function, or import one, into a Perl package, it will naturally also be available as a method. This does not per se cause problems, but it can complicate subclassing and, for example, plugin classes that are included via multiple inheritance by loading them as base classes. The 'namespace::clean' pragma will remove all previously declared or 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.

Dependencies

28 total
Requires27
  • coreutils
  • findutils
  • make
  • perl(B::Hooks::EndOfScope) >= 0.12
  • perl(Config)
  • perl(DB)
  • perl(Exporter)
  • perl(ExtUtils::MakeMaker)
  • perl(File::Glob)
  • perl(File::Spec)
  • perl(File::Temp)
  • perl(FindBin)
  • perl(IPC::Open2)
  • perl(Package::Stash) >= 0.23
  • perl(Test::More)
  • perl(Variable::Magic)
  • perl(base)
  • perl(constant)
  • perl(lib)
  • perl(sort)
  • perl(strict)
  • perl(vars)
  • perl(warnings)
  • perl-generators
  • perl-interpreter >= 4:5.12
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-namespace-clean = 0.27-31.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