Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Maybe you should look how the variable is being declared.. From what I can gather, you should declare it in the package as a my %hash.
From there you then declare an our within the sub or whatever is using the hash. Camel -> pg 134 "Our never creates values; it just exposes a limited form of acces to the global, which lives forever. In reply to Re: global variable in a package
by mikeock
|
|