|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
When the global is declared using "my", the variable is undefined inside the try{}
It showing defined value when i checked it. my and our is not the problem here, both will be visible inside the routines of the package global_stuff if the variable is declared globally inside global_stuff, something else is the mistake check it out.
UPDATE Vivek -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet. In reply to Re: global variable initialization inside try{}
by targetsmart
|
|