http://www.perlmonks.org?node_id=164862


in reply to Re: Re: A Macro System for Perl?
in thread A Macro System for Perl?

Agreed, but what about the README? It would seem that there is an inference of compatiblity with C macros, and a familiarity with them on the users part. Then again, it's not as if I wrote it ;-) And of course, there's always the source.

--
perl -pew "s/\b;([mnst])/'$1/g"

Replies are listed 'Best First'.
Re: Re: Re: Re: A Macro System for Perl?
by samtregar (Abbot) on May 08, 2002 at 03:37 UTC
    The README is three lines long (aside from build instructions) and doesn't mention C macros at all. It comes with no examples and no tests. It is, for all intents and purpose aside from the author's own use, worthless.

    -sam

      Calling something worthless because you are unwilling/unable to take a peak under the hood to accomdate the author's laziness/lack of foresight is tantamount to calling a box of toothpicks without directions useless.

      --
      perl -pew "s/\b;([mnst])/'$1/g"

        s/box of toothpicks/box of gears and springs/. Sure, there's a fully-functional clock in there somewhere, but I'm not going to find it. Seriously, though, glancing at the source for a couple of seconds makes me think it will behave like CPP for simple things, with '#' replaced by '#%'. My favorite thing, though, was the TODO file, which I quote in its entirety:
        
        * #if