in reply to (dkubb) Re: (2) Persistent Variables
in thread Regarding variables that
then from the main program, I can just do asub init { ## initialize stuff $cache=new GNS::Cache; } sub uninit { undef $cache; }
GNS::Node::init(); my $x=new GNS::Node; my $y=new GNS::Node; ## blah blah blah ## do some stuff GNS::Node::uninit();
|
|---|