NAME
Symbol::Delete - Remove a symbol from the symbol table.
DESCRIPTION
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.
SYNOPSYS
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
);
USAGE
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
.
SEE ALSO
- Symbol::Alias
-
Symbol::Alias Allows you to set up aliases within a package at compile-time.
- Symbol::Extract
-
Symbol::Extract Allows you to extract symbols from packages and into variables at compile time.
- Symbol::Move
-
Symbol::Move allows you to rename or relocate symbols at compile time.
- Symbol::Methods
-
Symbol::Methods introduces several package methods for managing symbols.
SOURCE
The source code repository for symbol can be found at http://github.com/exodist/Symbol-Move.
MAINTAINERS
AUTHORS
COPYRIGHT
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/