Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: Re: Re: Re: A Macro System for Perl?

by belg4mit (Prior)
on May 08, 2002 at 03:41 UTC ( #164898=note: print w/replies, xml ) Need Help??

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

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"

  • Comment on Re: Re: Re: Re: Re: A Macro System for Perl?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: A Macro System for Perl?
by educated_foo (Vicar) on May 08, 2002 at 04:24 UTC
    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
      Toothpicks was a Douglas Adams reference ;-) Wonko The Sane.

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://164898]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-10-25 01:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.