in reply to Re^3: Smart match in p5
in thread Smart match in p5

Hope you fair better than I did with my say() patch.

Is "fair" pun or typo?

What was wrong with your patch? I can understand that the keyword it introduces might be a little too likely to already be used in scripts. Something that I hope given and when are not.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re^5: Smart match in p5
by BrowserUk (Patriarch) on Mar 15, 2005 at 00:59 UTC

    A typo, or probably 'thinko', now corrected.

    As for the answer to your question, it depends upon who you ask, what their agenda is, and possibly, who's asking.

    Variously,

  • "No new keywords". (except lock, err, defined-or...)
  • New keywords break backwards compatitbility.
  • Fixable by using "weak keywords", but the pumpking "hates weak keywords".
  • Fixable by applying HINTS-style flag or bitword settable by use extended, a command line switch or similar--but it's:
    • "Too late in the life of Perl 5 to consider such a mechanism".
    • Adding such a mechanism, even if a few lines of code, is a "big deal".
    • "say" is too trivial a feature to consider such a mechanism for.

    Take your pick and good luck.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco.