On 10/15/07, Dr.Ruud <[EMAIL PROTECTED]> wrote: snip > > or the old chestnut: > > > > $array[0] ^= $array[1] > > $array[1] ^= $array[0] > > $array[0] ^= $array[1] > > > > Which even works on strings (but not references) in Perl. > > With strings not without length-issues: snip
Thats what I get for testing with "foo" and "bar". -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/