update Sat Jun 12 18:37:00 PDT 2010
[pkgsrc.git] / devel / p5-namespace-autoclean / DESCR
1 When you import a function into a Perl package, it will naturally also be
2 available as a method.
3 The namespace::autoclean pragma will remove all imported symbols at the end
4 of the current package's compile cycle. Functions called in the package
5 itself will still be bound by their name, but they won't show up as methods
6 on your class or instances.
7 This module is very similar to namespace::clean, except it will clean all
8 imported functions, no matter if you imported them before or after you used
9 the pagma. It will also not touch anything that looks like a method,
10 according to Class::MOP::Class::get_method_list.