Hi,

Jaffer Shaik <[EMAIL PROTECTED]> asked:
> I want to swap 2 variables without using a tempoarary variable.

( $a, $b ) = ( $b, $a );

HTH,
Thomas

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to