On Wed, Sep 04, 2002 at 04:43:25PM -0400, [EMAIL PROTECTED] wrote:
> Only augment //= in subroutine declarations, //= would also work.
> I love the //= operator, but in the context of sub declarations it's
> confusing as the *only* way to default an argument.  

Oh.  You want default() to be synonymous with //= but only in
subroutine declarations.  That seems a tad odd. Why not make it
synonymous everywhere?

        my $foo is default(23);         # same as ...
        my $foo //= 23;

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to