Sweep up imported subs in your classes
20.59 KB
built 2026-10-17 03:00:52 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
16 totalRequires14
- perl(B::Hooks::EndOfScope) >= 0.09
- perl(Carp)
- perl(Data::Dumper)
- perl(List::Util)
- perl(Package::Stash) >= 0.33
- perl(Scalar::Util)
- perl(Sub::Identify) >= 0.04
- perl(strict)
- perl(warnings)
- perl-libs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
- perl(namespace::sweep) = 0.006
- perl-namespace-sweep = 0.006-28.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
7
Files 1–7 of 7
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-52886-913 | 2026-10-29 19:18:10 | expired |
Buildroots 1–1 of 1

