|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Inheritance and package variablesby dsb (Chaplain) |
| on Jul 26, 2004 at 11:46 UTC ( #377393=note: print w/ replies, xml ) | Need Help?? |
|
Using the fully qualified name of the package variable should accomplish what you want to do, if I am understanding you correctly. Fully qualify a variable by adding the package it belongs to to any instances of its use. Note that any variables declared with my don't belong to any package and so could not be accessed like this.
dsb This is my cool %SIG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||