Sorry my bad:
Here is what I am looking for:
In below example I have $var1 value as 10 and $var2 as 5. For each iteration I want values to switch between these two.
i.e.
Iteration 1: $var1=10 and $var2=5
Iteration 2: $var1=5 and $var2=10
Iteration 3: $var1=10 and $var2=5
Iteration 4: $var1=5 and $var2=10
so on and so forth.
I tried something like below which is incorrect
use strict;
use warnings;
my $var1=10;
my $var2=5;
foreach(1..10) {
$var1=$var2;
$var2=$var1;
print "Var1 is:$var1\n";
print "Var2 is:$var2\n";
}

When putting a smiley right before a closing parenthesis, do you:

Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Other