P is for Practical | |
PerlMonks |
Re: I'm in trouble with Perl's OO programmingby guha (Priest) |
on Jun 09, 2005 at 09:16 UTC ( [id://465033]=note: print w/replies, xml ) | Need Help?? |
Inheritance does not work when you access WatchLog and SendEmail as subroutines. In fact for the sake of symmetry I would use a method invokation for AddLocalTime or at least change the name to _AddLocalTime to indicate that it is a local class method intended for use within the class.
In Section
Seekers of Perl Wisdom
|
|