Re: What should /\08/ match and do?
[email protected] (karl williamson)
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
I'm still digesting what people have written. But I
What I'm hearing is that it's not ok to add warnings on long-standing
possible usages that don't make sense at least to the person proposing
the message, such as me with empty {}, and Ãvar with the single
character sub names. FWIW, I think that it's a mistake to not warn on
using a reserved term; I don't think that putting it into the docs alone
suffices. And there would be more unhappy people when the construct
they were using suddenly goes away than there would be to get a
deprecation warning in advance that they are using a reserved term.
But that's what I'm hearing. But, Abigail originally said that it was
ok for \08 to warn; and Nicholas agreed; but then I hear in the latest
post on the subject from Abigail that "I'd say that pointing this
potential problem out in the docs should be enough." I can go either
way. The patch I had prepared simply silenced the warning; I can add
text to the documents, perhaps using his sly examples, as Yves
suggested. And I think it is a good idea to change them to stress using
\g{} for backreferences.
But I'm not sure we have consensus.