Exporter::Renaming

Allow renaming of symbols on import
Download

Exporter::Renaming Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Anno Siegel
  • Publisher web site:
  • http://search.cpan.org/~anno/Alter-0.07/lib/Alter.pm

Exporter::Renaming Tags


Exporter::Renaming Description

Allow renaming of symbols on import Exporter::Renaming is a Perl module that will allow renaming of symbols on import.SYNOPSIS # Enable renaming in Exporter use Exporter::Renaming; # Import File::Find::find as main::search use File::Find Renaming => ; # Disable renaming no Exporter::RenamingOverviewThis module adds the ability to rename symbols to the standard Exporter module. After use Exporter::Renaming, you can import symbols from exporting modules not only under their original names, but also under names of your choosing.Here, symbol is used to mean anything that could be exported by a Module, that is, a Perl function or variable. Thus a symbol begins with an optional type character (one of $, @, %, &, and *), followed by a name (a Perl identifier, made up of alphanumerics and _, starting with a non-digit).To trigger renaming behavior, the import list of a subsequent use statement must begin with the keyword 'Renaming', followed by a list reference, the , which describes the renaming imports (see below). After that, a normal import list may follow, which Exporter processes as usual. Requirements: · Perl


Exporter::Renaming Related Software