Tuesday, February 9, 2010

Single Line Swap in Perl

($foo, $bar) = ($bar, $foo)

will work just fine.

No comments: