Hi ,all: When I test the increment operator in Perl and find a question :
The question is : #!/usr/bin/perl use warnings; my $i = 1; print ++$i + ++$i, "\n"; The above code prints out the answer 6 . But in the other language the anser is 5 , So I don't understand the reason why it is Would someone give me some options ? Thanks ~~~