On Mon, 27 Dec 1999, John M Vinopal wrote:
More about the undef of package variables. Sure enough, the variables are
nuked in PerlRun::flush_namespace(). This can be inhibited by removing
them from the script's namespace before termination:
my $name = __PACKAGE__ . '::';
exported variables from modules lose their value after the first run.
This appears similar to an old post
package test2;
[...]
BEGIN {
# use vars qw($TEST);
use Exporter ();
@test2::ISA = qw(Exporter);
@test2::EXPORT = qw();
@test2::EXPORT_OK =
exported variables from modules lose their value after the first run.
This appears similar to an old post
package test2;
[...]
BEGIN {
# use vars qw($TEST);
use Exporter ();
@test2::ISA = qw(Exporter);
@test2::EXPORT = qw();