in reply to Re: Multiple Prototypes for Object Constructor
in thread Multiple Prototypes for Object Constructor

I've already spoken on the problem I have with your ref($proto) stuff.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Re: Multiple Prototypes for Object Constructor

Replies are listed 'Best First'.
Re: •Re: Re: Multiple Prototypes for Object Constructor
by nite_man (Deacon) on May 23, 2003 at 06:47 UTC
    Thanks for correction. Maybe you are right. My experiense is not enough for confirmation or refutation your assertion. I use a book 'Object Oriented Perl' by Damian Conway and there are two ways to do a clon of existing object (p. 104). In my mind, for person, who use some class, it's easier to call one method new() for creation or copy of an object intead of calling separate methods for this.
          
    --------------------------------
    SV* sv_bless(SV* sv, HV* stash);