develooper Front page | perl.perl6.language | Postings from June 2005

Re: construction clarification

Thread Previous | Thread Next
From:
Carl Franks
Date:
June 1, 2005 04:44
Subject:
Re: construction clarification
Message ID:
4f352aae0506010444750a7e07@mail.gmail.com
> The universal new() would handle the one-argument call exactly the
> same as your overloaded new() does.

Is that correct? S12 says...
  All classes inherit a default new constructor from Object.
  It expects all arguments to be named parameters initializing
  attributes of the same name.
... which seems to contradict.

Carl

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About