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

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


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

Replies are listed 'Best First'.
Re^4: Smart match in p5
by Juerd (Abbot) on Mar 14, 2005 at 15:46 UTC

    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' }

      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.