Upstream software project

perl-namespace-autoclean

Keep imports out of your namespace

About perl-namespace-autoclean

Keep imports out of your namespace

This project links 1 native package record across 1 recorded operating-system release. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 1 package records. Catalog coverage diagram, not an application screenshot.perl-namespace-autoclean: recorded package coverageopenSUSE Leap 15.61 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-namespace-autoclean
Publisher
Not authoritatively mapped
Native package records
1
Operating systems
opensuse-leap-15-6
License expression
Artistic-1.0 or GPL-1.0+
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

When 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 'use'd the pragma. It will also not touch anything that looks like a method. If you're writing an exporter and you want to clean up after yourself (and your peers), you can use the '-cleanee' switch to specify what package to clean: package My::MooseX::namespace::autoclean; use strict; use namespace::autoclean (); # no cleanup, just load sub import { namespace::autoclean->import( -cleanee => scalar(caller), ); }

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package perl-namespace-autoclean

    leap-15.6 (openSUSE Leap 15.6) (Development/Libraries/Perl): Keep imports out of your namespace

    0.28-1.22: noarch

    Source: perl-namespace-autoclean

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.