[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Drunk driving



>>>>> "Mark-Jason" == Mark-Jason Dominus <mjd@plover.com> writes:

Mark-Jason> Aha!  This is a *perfect* opportunity to use `the secret passage'.
Mark-Jason> People who don't know about that yet might enjoy trying running it and
Mark-Jason> trying to figure out what is going on.  Spoilers are at

Mark-Jason> 	http://www.plover.com/~mjd/perl/LOD/#9 

Mark-Jason> The following program works but does not use either a temporary file
Mark-Jason> or `fork':

But exec's needlessly.  If you can write it all into a pipe buffer,
you can read it in the same process.

Silly trick.  Useless trick.  Gains nothing but obscurity.

Sorry MJD, but you missed the mark on this one.  And usually your
stuff rocks. :)

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me

==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org