undef the package array
I have already tried that, but it does not work.
By the way, it's a hash :)package Foo; sub subroutine { 'Package "' . __PACKAGE__ . '"' } $variable = "is still there.\n"; package main; undef %Foo::; print join ' ', Foo::subroutine, $Foo::variable;
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
In reply to Re: Re: undef Package;
by Juerd
in thread undef Package;
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |