Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How can I add private data/methods in parent class?

by saintmike (Vicar)
on Jun 22, 2004 at 05:56 UTC ( [id://368622]=note: print w/replies, xml ) Need Help??


in reply to How can I add private data/methods in parent class?

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.

  • Comment on Re: How can I add private data/methods in parent class?

Replies are listed 'Best First'.
Re^2: How can I add private data/methods in parent class?
by pijush (Scribe) on Jun 22, 2004 at 06:23 UTC
    As I mentioned that I am just learning how to write OO programe, so I have used the code present in the documentation and try to add my code to explore OO features which are present in other language (such as C++) and how can I implement in Perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368622]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-18 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found