|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: string operations of arithmeticby wind (Priest) |
| on Jun 24, 2011 at 16:24 UTC ( #911272=note: print w/ replies, xml ) | Need Help?? |
|
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||