[Israel.pm] swap arrays

Yossi.Itzkovich at ecitele.com Yossi.Itzkovich at ecitele.com
Mon Feb 16 05:58:28 PST 2004


Hi,

Is there an **elegant** way of swapping arrays in Perl ?

I call "elegant", the way we swap scalars:
 ($a,$b)=($b,$a);

Yossi




More information about the Perl mailing list