Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Inheritance strangenessby Zed_Lopez (Chaplain) |
on Sep 08, 2004 at 07:59 UTC ( [id://389296]=note: print w/replies, xml ) | Need Help?? |
This does what you'd expect:
Update: In my test code, I had a use lib "[directory with A.pm, B.pm, C.pm]" before use C;. That means I explicitly got the new B.pm instead of the system one. Everyone else is right that if you're picking up the system B.pm first, that's a problem.
In Section
Seekers of Perl Wisdom
|
|