Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Subs are only inherited when called as (class or object) methods, as opposed to functions. Thanks, I didn't know that. "Did you really need to post 100s of lines to show constants aren't inherited?" Well, given that I didn't know what aspect of my code was causing the problem, and that this is indeed a stripped-down version of it... I apologise for offending you. Hmm, I was going to comment on your => note, but I see you've already removed that comment. Never mind. In reply to Re^2: Inheritance and Constants
by jgamble
|
|