NAME
Pollute::Persistent - Perl extension to re-export imported symbols
SYNOPSIS
use Pollute::Persistent;
use This;
use That;
use TheOther;
# exports anything imported from This, That or TheOther
DESCRIPTION
On use, all the symbols in the caller's symbol table are listed into
%Pollute::Before, and the Pollute subroutine is exported (through direct
symbol table manipulation, not through "Exporter.")
Pollute::Persistent rewrites its caller's import routine.
for later use. Example:
In one file, called MyFavoriteModules.pm:
package MyFavoriteModules;
use Pollute::Persistent;
use fred;
use jim;
use shiela;
In another file:
use MyFavoriteModules; # imports all symbols exported by fred, jim and shiela
In yet another file:
use MyFavoriteModules; # uses newly-defined import function.
EXPORT
Pollute::Persistent clobbers its caller's import routine.
AUTHOR
David Nicol, <lt>pollute_author@davidnicol.com<gt>
LICENSE
GPL/Artistic. Enjoy.
SEE ALSO
perl.