Unable to swap the variables using perl? : <hr>

<p>Here by i tried to swap the variables using perl.</p>

<pre><code>#!/usr/local/bin/perl
 use strict;
 use warnings;
 my $v1=23;
 my $v2=43;
 $v1,$v2)=($v2,$v1)
 print $v1,$v2;
</code></pre>

<p>Error:</p>

<pre><code>syntax error at exchange.pl line 7, near ")
print"
Execution of exchange.pl aborted due to compilation errors.
</code></pre>

<p>Excepted output:</p>

<pre><code>43,23
</code></pre>
