• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux namespace::autoclean Download

namespace::autoclean

September 10, 2009
Prevent imports from cluttering your namespace with this software solution.
Version 0.08
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Florian Ragwitz
This is a review of the Perl module namespace::autoclean. When you import a function into a Perl package, it is automatically available as a method. However, this can lead to clutter and confusion in your code. That's where namespace::autoclean comes in.

This module removes all imported symbols at the end of the current package's compile cycle. Functions called within the package will still be bound by their name, but they won't show up as methods on your class or instances. This is similar to namespace::clean, but with some key differences.

For example, namespace::autoclean will clean all imported functions, no matter if you imported them before or after you used the pragma. It will not touch anything that looks like a method, as determined by Class::MOP::Class::get_method_list.

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. Here's an example:

```
package My::MooseX::namespace::autoclean;
use strict;
use namespace::autocleanclean (); # no cleanup, just load

sub import {
namespace::autoclean->import(
-cleanee => scalar(caller),
);
}
```

In the SYNOPSIS, we see an example of namespace::autoclean in action. In this case, we have a package called Foo. We're importing a function called imported_function from Some::Package. We then define a sub, bar, that uses that function. Later on, we try to call imported_function as a method on Foo.

Thanks to namespace::autoclean, this fails. The imported function was cleaned up after compilation, so it's not available as a method on Foo.

Overall, namespace::autoclean is a useful module for keeping your code organized and reducing clutter.
What's New

Version 0.08: N/A

Free Download 10.3K
335
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Flail
Flail: Perl-based command-line mailing user agent (MUA).
YajHFC
YajHFC is a Java-based client for HylaFAX fax server that is currently ...
Pygoscelis
Pygoscelis software offers robust tools to simplify and enhance file management tasks. ...
Docebo
Docebo is a platform that integrates content management and e-learning features into ...
Gentle.NET
Gentle.NET is a C#-based .NET object persistence framework that enables data to ...
Burn-CD
Burn-CD is a Python-based software frontend designed for modern GNU/Linux OS, which ...
pftabled
This software enables OpenBSD's pf tables to be accessed from external hosts. ...
Bio-Linux
Bio-Linux is an Ubuntu-based bioinformatics workstation that is feature-rich, powerful, configurable, and ...
gzip Recovery Toolkit
Gzip Recovery Toolkit automates data recovery from corrupted gzip files, including tarballs, ...
HTML2fo
HTML2fo is a converter that transforms HTML into XSL:FO format.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.