Most Perl 6 will look like Perl 5

Mark Overmeer mark at overmeer.net
Fri Jan 25 12:07:18 GMT 2008


* Abigail (abigail at abigail.be) [080125 11:09]:
> Even something simple as C<< $hash {key} >> requires THREE changes, it
> will now become C<< %hash{'key'} >>. 

Actually, you have three more alternatives:  (See S02)
  %hash<key>
  %hash.<key>
  %hash .<key>

You may prefer the latter, because it permits blanks.  The first
requires only two changes from the original syntax for the
average programmer (everyone except you).
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net



More information about the london.pm mailing list