I want to swap two variables values without using the third variable in Perl, e. g.:
my $first = 10; my $second = 20;
Please suggest me how
you can use this logic
firstValue = firstValue + secondValue; secondValue = firstValue - secondValue; firstValue = firstValue - secondValue;