in reply to
Scope of package variables
If you put ScopeTest in a separate file and then
use ScopeTest;
it will work as you expect.
Comment on
Re: Scope of package variables
Download
Code
In Section
Seekers of Perl Wisdom