How the result becomes as 8. If I execute this manually based on the operator precedence I suspect it should be 9. but I am wondering about the end result, which is 8. I hope, monks will have a better explanation.#!/usr/bin/perl use strict; my $val = 10 ; my $re = ++$val - $val-- + --$val; print $re; output :- 8
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |