I guess:
$obj = A->new; # an object in main $B::a = $obj; # point $B::a to object or: $B::a = \$obj; # $B::a is a ref to object
In reply to Re: single instance shared with module
by fglock
in thread single instance shared with module
by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |