in reply to accessing module variables howto
$Mref is an object, but $var is not bound to an object, but a package variable. So you have to qualify it with the package namespace identifier Manager:: to access it.my $Mref = Manager::new(); # ... print $Manager::var;
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|