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

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



Jonathan Swartz wrote:
> Or:
>     ($p,$q) = ($q,$p);
> perhaps clearer. One of my favorite Perl-only idioms...

That makes sense but can somebody explain how

> At 10:16 PM 6/10/99 -0500, Tushar Samant wrote:
> >    $q^=$p^=$q^=$p

is  parsed?


bekj

-- 
: --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick--
: gossamer@tertius.net.au   http://www.tertius.net.au/~gossamer/
: Every blade of grass has its angel that bends over it and
: whispers, 'grow, grow'.  -- The Talmud

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