The main package scoped variable $MW is not available inside the package BPP::About."Package scoped variables" are package variables, they're always accessible using the fully qualified name (like $main::MW). When dealing with our, the only thing you're "scoping" is the possibility to use the non-fully-qualified symbol ($MW) instead of the fully qualified one ($main::MW).
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
In reply to Re^2: Sharing Across Packages
by polettix
in thread Sharing Across Packages
by mikasue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |