As others have already said, your statements work as spec'd in perlop - Auto increment/decrement.
If you'd like them to work in a different way, you must simply overload those operations in a class.
In reply to Re: string operations of arithmetic
by wind
in thread string operations of arithmetic
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |