Path to this page:
./
devel/p5-namespace-autoclean,
Keep imports out of your namespace
Branch: CURRENT,
Version: 0.31nb1,
Package name: p5-namespace-autoclean-0.31nb1,
Maintainer: pkgsrc-usersWhen 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 used
the pagma. It will also not touch anything that looks like a method,
according to Class::MOP::Class::get_method_list.
Required to run:[
lang/perl5] [
devel/p5-namespace-clean] [
devel/p5-Sub-Identify] [
devel/p5-B-Hooks-EndOfScope]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 38.621 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-namespace-autoclean-0.31nb1
- (2024-10-13) Updated to version: p5-namespace-autoclean-0.31
- (2023-07-06) Updated to version: p5-namespace-autoclean-0.29nb4
- (2022-06-28) Updated to version: p5-namespace-autoclean-0.29nb3
- (2021-05-25) Updated to version: p5-namespace-autoclean-0.29nb2
- (2020-09-01) Updated to version: p5-namespace-autoclean-0.29nb1
CVS history: (Expand)