"Randal L. Schwartz" wrote:

> >>>>> "Dan" == Dan Anderson <[EMAIL PROTECTED]> writes:
>
> Dan>   my $class = ref($proto) || $proto;
>
> Don't do this!
>
> <http://www.perlmonks.org/index.pl?node_id=52089>.

Hi Randal,

Read the article, and it percursor thread.  I'm still a little mystified as to
what you find offensive there.  Perhaps one should be aware of the contents, if
any, of @ISA, before writing the new method.  It doesn't always work that way,
though, and having a flexible [and standardized] constructor does not seem to do
any harm.  Is there some potential harm you see?

I'll grant that I have sometimes felt silly having that construct in a root
class, but so far it has not done any actual damage.

Joseph


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

Reply via email to