in reply to Re: All uppercase subs
in thread All uppercase subs

Thank you for your informative post. Though the point I was trying to make is that Perl has a long story of not-completely-backward-compatible changes and it is not so unreasonable to think of a hypothetic DEBUG specially named code block, although I bet that would ring a bell amongst p5l's developers. All in all I didn't say that was a problem, just reasoning on the issue. This is a meditation after all, isn't it?

OTOH in your list I see

#define KEY_NULL 0
but that doesn't seem to make its way into Perl. I mean we do not have a NULL specially named block nor special token, have we?

Also I don't see anything about CLONE (I've never used threads myself, BTW) in your excerpt from keywords.h. Maybe it's defined elsewhere...

Replies are listed 'Best First'.
Re^3: All uppercase subs
by bmann (Priest) on Jul 22, 2005 at 18:17 UTC
    You are absolutely right, adding a DEBUG block would not be unreasonable, or even hard to imagine. Keywords could be added to perl (or any other language) willy-nilly, and there's not much we can do about it except get involved in the development process. We should thank Larry for giving us that option.

    Good catch, in that there are missing keywords in keywords.(pl|h). I wonder if it's an oversight or by design? Is it worthy of a post to the p5p mailing list?