Don't ask to ask, just ask | |
PerlMonks |
Re: is $i=+3 valid?by Rahul6990 (Beadle) |
on Jul 05, 2013 at 07:09 UTC ( [id://1042622]=note: print w/replies, xml ) | Need Help?? |
The correct way to use it is : $i+=3; += is called the short hand operator, similar to this you can use: -= , *= , /=
In Section
Seekers of Perl Wisdom
|
|