Path to this page:
./
devel/p5-namespace-clean,
Perl module to keep imports and functions out of your namespace
Branch: CURRENT,
Version: 0.27nb8,
Package name: p5-namespace-clean-0.27nb8,
Maintainer: pkgsrc-usersKeeping packages clean
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.
Required to run:[
lang/perl5] [
devel/p5-B-Hooks-EndOfScope] [
devel/p5-Package-Stash] [
devel/p5-Module-Implementation]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 17.384 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-namespace-clean-0.27nb8
- (2023-07-06) Updated to version: p5-namespace-clean-0.27nb7
- (2022-06-28) Updated to version: p5-namespace-clean-0.27nb6
- (2021-05-25) Updated to version: p5-namespace-clean-0.27nb5
- (2020-09-01) Updated to version: p5-namespace-clean-0.27nb4
- (2019-08-11) Updated to version: p5-namespace-clean-0.27nb3
CVS history: (Expand)