Symbol::Delete - Remove a symbol from the symbol table.
This package allows you to remove symbols from the symbol table at compile time. The symbol can be in the current package or any arbitrary packages.
use Symbol::Delete( 'foo' # Remove the sub 'foo' from the current package '%A::B::foo' # Remove the hash 'foo' from the A::B package '@A::B::bar', # Remove the array 'bar from the A::B package );
use Symbol::Delete $SYMBOL, $SYMBOL2, ...;
$SYMBOL must be a string identifying the symbol. The symbol string must include the sigil unless it is a subroutine. You can provide a fully qualified symbol name, or it will be assumed the symbol is in $PACKAGE.
$SYMBOL
$PACKAGE
Symbol::Alias Allows you to set up aliases within a package at compile-time.
Symbol::Extract Allows you to extract symbols from packages and into variables at compile time.
Symbol::Move allows you to rename or relocate symbols at compile time.
Symbol::Methods introduces several package methods for managing symbols.
The source code repository for symbol can be found at http://github.com/exodist/Symbol-Move.
Copyright 2015 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
To install Symbol::Move, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Symbol::Move
CPAN shell
perl -MCPAN -e shell install Symbol::Move
For more information on module installation, please visit the detailed CPAN module installation guide.