Hi,

I am referring to http://www.gnulamp.com/perlscalars.html

$a = $b; # Assign $b to $a

Note that when Perl assigns a value with *$a = $b* it makes a copy of $b and
then assigns that to $a. Therefore the next time you change $b it will not
alter $a.

I did not understand the Note:- Can some one make me understand this
statement with examples

and also what i understand from the below statements( I have added in the
comments), is it correct.

$a += $b;   #is it $a = $a + $b;
$a -= $b;    #is it $a = $a - $b;
$a .= $b;    #is it $a = $a . $b;

Thanks again

Thanks and Regards

Kaushal

Reply via email to