This software feature enables renaming of symbols during import, allowing users to customize how symbols are labeled within the software.
In this context, a symbol can refer to anything that could be exported by a Module, such as a Perl function or variable. A symbol begins with an optional type character, followed by a name (alphanumeric and underscore, starting with a non-digit).
To enable renaming in Exporter, simply use Exporter::Renaming. To import symbols from another module and rename them, use the Renaming keyword in the import list of a subsequent use statement. This is followed by a list reference that describes the renaming imports, which is then followed by your chosen normal import list.
To disable renaming, simply use "no Exporter::Renaming." Exporter::Renaming is an excellent module for those looking to add more flexibility to their symbol renaming in Perl.
Version 1.18: N/A