Think about Loose Coupling | |
PerlMonks |
Re: Re: Re: Need help understanding variable scope in modulesby japhy (Canon) |
on Jul 11, 2001 at 22:53 UTC ( [id://95808]=note: print w/replies, xml ) | Need Help?? |
Inheritance.
Here, an Alcoholic object has its own drink method, but it inherits the eat method from Person. Similarly, something that inherits from the class you've posted could have its own _accessible method. japhy -- Perl and Regex Hacker
In Section
Seekers of Perl Wisdom
|
|