Hamish Whittal <[EMAIL PROTECTED]> writes:
> Robin,
>
> Thanks so much for the effort you put into this replyI just have a
> few more questions...see below.
> > What it does do is show how I solve the problem of the parent's
> > classes 'new' not knowing about data members needed for the c
Robin,
Thanks so much for the effort you put into this replyI just have a
few more questions...see below.
> Well, is a 'Device' a generic thing, which Cisco::cs2600 is a kind of?
> Or is 'Device' a part of a 'Cisco::cs2600'? Or is 'Device' a specific
> kind of 'Cisco::cs2600'?
A device is a
Hamish,
There are lots of ways to do object orientedness and inheritance. How
you do it depends very much on the problem(s) you are trying to solve,
and often on personal style...I'll try to answer your questions in-line.
Hamish Whittal <[EMAIL PROTECTED]> writes:
> Hi Folks,
>
> I have an ob
Hi Folks,
I have an object called Cisco:cs2600. I have a constructor that will new
that will initialise all the object with all the relavant information.
Now, I call the constructor to create a new instance of this object.
$deviceType = Cisco::cs2600->new($systemObjectID);
So, now I have an obj