in reply to Re: Global variable declarations with packages
in thread Global variable declarations with packages
...works fine. It appears I need to dig further into this junk. Thanks.package MYMODULE::THING; use Exporter; @ISA = qw(Exporter); @EXPORT = qw(Func1 Func2); sub Func1 {} sub Func2 {} package main; import MYMODULE::THING; $somevar = 1; @somearray = (1, 2, 3); ...
|
|---|