Thank you sir for the response, I will have a look.  I love programming in
perl, but Im getting used to the idea of developing class objects and
instances in PHP.

class thisclass {

}

class otherclass extends thisclass {

}

Object oriented programming is a great way to reuse code.

I appreciate your time.
-Dan

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 9:15 AM
Subject: RE: Why not Class Objects


>
> ------------------------------------------------
> On Fri, 27 Jun 2003 09:01:59 -0500, "Daniel J. Rychlik"
<[EMAIL PROTECTED]> wrote:
>
> > I have been a perl developer or about a year and half and I have a
question.  How come perl does not support the use of Class Objects ?
> >
>
> What do you mean by a "Class Object"?  I am assuming you mean a data
structure that is associated with and manipulated with respect to all
objects of a particular class (instances).  In which case Perl supports this
by providing package scoped variables and any method of the package that
does not expect to take an object ref as its first parameter.
>
> You can also go to extremes to encapsulate the data so that only specific
methods can act on it, truly making it a "class object", but that is beyond
the scope of my post.
>
> have a look at:
>
> perldoc perltoot
>
> In particular the section on "Class Data"....
>
> http://danconia.org
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to