On Wed, Sep 04, 2002 at 03:48:41PM -0500, Jonathan Scott Duff wrote:
> 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;

I dont see what's that meant to be achieving.  Surely It's always 23.

andrew
-- 
Cancer: (June 22 - July 22)
You will soon be exposed to the most rocking music ever, but due to your
unrockable nature, you will remain profoundly unrocked.

Reply via email to