On Sunday 07 July 2002 02:19 pm, Damian Conway wrote:
> Ashley Winters asked:
> > > It *might* possibly work to hyper the constructor:
> > >
> > >     my ($a, $b) = ^new Foo
> >
> > Would prefix ^ always return 'wanted' number of repetitions? Like a
> > smart C<x Inf>?
>
> This does bother me about the above proposed syntax/semantics.
> Hyperoperations take their "magnitude" from that of their operand(s).
> I would have expected the above example needed to be:
>
>        my ($a, $b) = ^new (Foo,Foo);

How about:

$_ = new Doberman for my Dog ($spot, $rover) is rw;

Err, whatever.

Ashley Winters

Reply via email to