Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

Outlaw the "\ddd" notation

已查看 22 次
跳至第一个未读帖子

Agent Zhang

未读,
2006年8月15日 07:15:522006/8/15
收件人 p6l
Hi, there~

Perl 5 uses the "\ddd" notation to index characters by octal numbers
(e.g. \187 and \13). Now that Perl 6 has the shiny new \o and \o[]
notations, we probably need to outlaw the legacy stuff explicitly in
S02 since we have the assumption that everything not mentioned in the
Synopses is assumed to stay the same as in Perl 5.

Therefore, in Perl 6, "\187" eq '187' will hold.

BTW, Audrey also thinks it's necessary to add a snippet to S02. :=)

Cheers,
Agent

0 个新帖子