< Home - < Back

perl-namespace-autoclean


Information about the package, perl-namespace-autoclean, which is shipped with common Linux distributions. The perl-namespace-autoclean package is designed for, Keep imports out of your namespace.


Package Name:

perl-namespace-autoclean

Summary:

Keep imports out of your namespace

Description:

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 pagma. It will also not touch anything that looks like a method, according to 'Class::MOP::Class::get_method_list'.

Architecture:

noarch

Version:

0.11

Release:

1.el6

Size:

18 k

Repository:

epel

From Repository:

Licence:

GPL+ or Artistic



Handy Yum Commands for perl-namespace-autoclean


Control the perl-namespace-autoclean package with the following handy commands outlined below.


Command

Description of Command

yum install perl-namespace-autoclean

This command will install perl-namespace-autoclean on the server.

yum remove perl-namespace-autoclean

This command will un-install perl-namespace-autoclean on the server. When you run this command, you will be asked if you are sure that you want to remove perl-namespace-autoclean, so you have to manually confirm that you want to do this.

yum -y remove perl-namespace-autoclean

This command will un-install perl-namespace-autoclean on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-namespace-autoclean when using the -y flag.

yum update perl-namespace-autoclean

This command will update perl-namespace-autoclean to the latest version. When you run this command, you will be asked if you are sure that you want to remove perl-namespace-autoclean, so you have to manually confirm that you want to do this.

yum -y update perl-namespace-autoclean

This command will update perl-namespace-autoclean to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-namespace-autoclean when using the -y flag.

yum info perl-namespace-autoclean

This command will show you core information about the perl-namespace-autoclean package.

yum deplist perl-namespace-autoclean

This command will show you the dependencies for perl-namespace-autoclean. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update perl-namespace-autoclean

This command will check if there is an update waiting on perl-namespace-autoclean. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.