in reply to access to the variable in other pm
I can not change anything in test.pm.
Then you're in trouble, unless you install PadWalker and somehow get ahold of the topmost pad for the test package, shuffle through it to find the appropriate slot for $dbaccess, and keep ahold of the reference.
It's not impossible by any means -- but the easiest way by far is to change test.pm.
|
|---|