James Mastros skribis 2004-12-19 23:00 (+0100):
> Juerd wrote:
> >Just typing "my " before the first use of a variable isn't hard, and it
> >makes things much clearer for both the programmer and the machine. 
> Does this imply that it's now possible to type C<my @foo[23] = 42;>, and 
> declare @foo?  In the current perl, this doesn't work -- it's a syntax 
> error.  It'd certainly make many constructs easier.

I didn't mean to imply that, but I sure think it's a great idea, even
though I can't think of useful examples (as everything I can come up
with is more elegantly done with vector ops or map anyway).


Juerd

Reply via email to