|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^3: Can you override lexically scoped variables when sub-classing a module.by jandrew (Hermit) |
| on Oct 11, 2012 at 20:28 UTC ( #998536=note: print w/ replies, xml ) | Need Help?? |
|
Well if you can change the 'my' to 'our' in p1 then this works Package 1
Package 2
You get a global variable that you may not want
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||