Tuesday, 3 September 2013

How to swap two variables without using the third

How to swap two variables without using the third

I want to swap two variables values without using the third variable in Perl?
my $first = 10;
my$second = 20;
Please suggest me how we can do this Perl.in simple way

No comments:

Post a Comment