Luke Palmer skribis 2005-02-22 11:40 (-0700):
> Some time ago on perl6-documentation (when it existed) we decided that
> octals would now be represented as 0o777 and, in strings, \o777.  Should
> 0777 and, in particular, \777 come with warnings?  What, exactly, does
> \777 mean in a string?

And for symmetry, can we get 0d and \d for decimal, for those cases
where you want to be explicit?

I think \777 should be chr(777). As should \0d777, should you want to
document that it's really not octal. (Important mostly the first year
after the first release.)


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to