Now i want to share main's instance of module A with module B. Is that possible?
Short answer: yes.
You could pass the object to a sub in B, for example.
The question is rather vague and general though. Does B just need to act on your instance of A? Does B need to contain your instance of A? What exactly are you trying to do?
-sauoq "My two cents aren't worth a dime.";
In reply to Re: single instance shared with module
by sauoq
in thread single instance shared with module
by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |