or#!/usr/bin/perl $a = 10; $a+=5;$a-=10; print "\n$a";
The += and -= are shortcuts that set the lefthand.. the $a = is not needed.#!/usr/bin/perl $a = 10; $a = $a + 5 - 10; print "\n$a";
In reply to Re: precedence question
by waswas-fng
in thread precedence question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |