On Fri, Apr 30, 2004 at 11:14:55AM +0200, Aldo Calpini wrote:
:     class Animal {
:         our @.zoo;
:         &new.wrap( {
:             my @results = call();
:             push(@.zoo, @results[0]);
:             return @results;
:         } );
:     }

That would almost certainly fail with an error saying that it couldn't
find your &new subroutine.  The & sigil does not imply dispatch, and
the default .new is inherited, not autogenerated, last I checked.  :-)

Larry

Reply via email to