I am trying to learn a OO programming in perl. I have writtten following code to learn inheritance.By coincidence, this is exactly the same code as in merlyn's column, you magnificent devil, you!
As for private methods in Perl, read this thread.
In reply to Re: How can I add private data/methods in parent class?
by saintmike
in thread How can I add private data/methods in parent class?
by pijush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |