Symbol::Glob

Symbol::Glob allows to remove items from the symbol table, painlessly.
Download

Symbol::Glob Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joe McMahon
  • Publisher web site:
  • http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm

Symbol::Glob Tags


Symbol::Glob Description

Symbol::Glob allows to remove items from the symbol table, painlessly. Symbol::Glob allows to remove items from the symbol table, painlessly.SYNOPSIS use Symbol::Glob; # assumes current package unless specified my $glob = Symbol::Glob->new({ name => 'foo' }); $glob->scalar(14); $glob->sub( sub { return 'this is a sub' }); print $Some::Package::foo; # prints 14 $glob->delete('scalar'); print $Some::Package::foo; # undefined print $glob->sub->(); # prints 'this is a sub' $glob->delete; # removes entire globSymbol::Glob provides a simple interface to manipulate Perl's symbol table. You can define and undefine symbol table entries for scalars, arrays, hashes, and subs via simple method calls.This module does not (currently) attempt to mess with filehandles, dirhandles, or formats. Requirements: · Perl


Symbol::Glob Related Software