develooper Front page | perl.perl6.language | Postings from May 2001

Re: p6 casting as shortcut for lengthier p5 syntax

Thread Previous
From:
David L. Nicol
Date:
May 11, 2001 14:24
Subject:
Re: p6 casting as shortcut for lengthier p5 syntax
Message ID:
3AFC57B1.2EF4EEA8@kasey.umkc.edu
Larry Wall wrote:
> 
> Why should it be deprecated?
> 
> Oh, are you wondering because I said ...

What about array and hash accesses starting with scalar-indicators?
I guess it is easy to misread A2 to mean that not only will

	scalar(@trucks[5])

return the sixth truck, but

	$trucks[5]

will no longer work.


The fact that in p5,

	($sixthtruck) = @trucks[5];

already does that may have been lost to many.


That (mis, I sincerely hope)reading is in my perception the core
of the subsequent flurry of worries about A Whole New Language.



-- 
                      David Nicol 816.235.1187 dnicol@cstp.umkc.edu
                                                     # die smiling;


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About