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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://164898]
help
Chatterbox?
[stevieb]: relocate Lotus1 to the brig, straight away!
[erix]: let's do an education simulation
[stevieb]: You could just play dumb... "huh? There was no mention of 'fishing' in the email!"
[erix]: you could say you were part of the simulation
[stevieb]: I'd take full responsibility myself... "man, I was so hung over I could barely read what the email said!"
[zarath]: "Smee, the boo-box..."

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-05-24 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?