go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi monks,
Please forgive me if my doubt is too simple.I tried my best ,but not getting the answer. I have a global hash ("our %hash") in package and the hash is used only in a function in that package. The function is accessed from different instances of an Module(Class). But each instance is creating it's own version of hash. Is there any way by which all instances use the same global hash rather than creating its own hash. Let me make clear that the Module which is accessing the hash is different from the module which contains the hash Thanks Kiran In reply to global variable in a package by jithoosin
|
|