On 10/6/05, Juerd <[EMAIL PROTECTED]> wrote:
> Luke Palmer skribis 2005-10-06 14:23 (-0600):
> >         my role is_default {}   # empty
> >         sub foo($a, ?$b = 0 but is_default) {...}
>
> Would this work too?
>
>     0 but role {}

Most certainly, but you would have no way to refer to that role later,
so it is questionable how useful that construct is.  No, it's not
questionable.  That is a useless construct.

Luke

Reply via email to