Dear Friends,

I want to swap 2 variables without using a tempoarary variable.

I know the below logic
        a=a+b
        b=a-b
        a=a-b

Other than this logic, is thery any other way in perl.

Regards,
Jaffer.

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