in reply to Re: Prefix and postfix increment/decrement operator query
in thread Prefix and postfix increment/decrement operator query

@JavaFan - I meant -

perl -le '$a = 10; print $a++ + $a--'

Sorry for missing out on the print statement.

Thanks davorg, wfsp for pointing to perlop and the Autoincrement magic link. I guess as it is undefined behavior I will leave it at that.