This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Perl > perl-namespace-clean (0.27)

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.

By unimporting via no you can tell namespace::clean to start collecting
functions for the next use namespace::clean; specification.

This requires: perl-Package-Stash, perl-B-Hooks-EndOfScope

Maintained by: Jan F. Chadima
Keywords: perl
ChangeLog: perl-namespace-clean


Source Downloads:
namespace-clean-0.27.tar.gz (cba97f39ef7e594bd8489b4fdcddb662)

Download SlackBuild:
perl-namespace-clean.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds