On Thu, 2002-09-05 at 04:31, Damian Conway wrote:
>    sub hidden (str $name, int $force is aka($override)) {...}

Hang on a moment!  In your original answer to this question, you used
the "is named('alias')" syntax, but now you are suggesting using the
sigil in the syntax.  So, should it really be

int $force is aka($override)

or

int $force is aka('override')

?

I much prefer the latter because: a) it unquestionably marks 'override'
as a label for $force, b) the subroutine author is likely to use either
$force or $override and not both, c) it gives meaning to things like
"$force is aka(@override)" because aliases would not have to be known at
compile-time.

Then again, if you have good reasons for the other syntax, I would be
more than happy to hear those as well.

Peter Behroozi

Reply via email to