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

Re: [Fun With Perl] How to swap $p and $q without $tmp



On Sat, Jun 12, 1999 at 01:06:32AM -0400, mjd-list-fwp@plover.com wrote:
> > >> ($p,$q) = ($q,$p);
> > >
> > > That's highly obfuscated. Are you sure you want it in maintainable code?
> > >
> > 
> > Actaully the second one isn't that obfuscated.  
> 
> <foghorn>It's a joke, son.</foghorn>

s/It's/$1, I say, $1/

:-)

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
TINC, fnord, tinc.

==== 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