On Fri, Aug 19, 2005 at 01:15:23AM +0800, Autrijus Tang wrote:
> On Thu, Aug 18, 2005 at 10:09:16AM -0700, Larry Wall wrote:
> > In other words, you could desugar
> > 
> >     sub foo ($a = 1) {...}
> > 
> > to
> > 
> >     sub foo ($a) {
> >     $a = 1 unless exists $a;
> >     ...
> >     }
> 
> I like this.  Can we go for it, at least for this week? :)

Also, preemptively -- I think the corresponding "delete $a" is insane,
as it would just lift up the constancy problem one level, defeating the
no rebinding restriction.

Thanks,
/Autrijus/

Attachment: pgp3J1ypKaNbp.pgp
Description: PGP signature

Reply via email to