Mon, 09 Nov 2026 12:51:43 UTC Log in
Sweep up imported subs in your classes 27.86 KB built 2026-10-17 03:00:43 GMT

Description

Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects. This pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems.

Dependencies

21 total
Requires20
  • /usr/bin/make
  • /usr/bin/perl
  • perl(B::Hooks::EndOfScope) >= 0.09
  • perl(Carp)
  • perl(Data::Dumper)
  • perl(ExtUtils::MakeMaker) >= 6.30
  • perl(List::Util)
  • perl(Moo)
  • perl(Moose)
  • perl(Mouse)
  • perl(Package::Stash) >= 0.33
  • perl(Scalar::Util)
  • perl(Sub::Identify) >= 0.04
  • perl(Sub::Name)
  • perl(Test::More)
  • perl(strict)
  • perl(warnings)
  • perl-generators
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-namespace-sweep = 0.006-28.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