Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: string operations of arithmetic

by wind (Priest)
on Jun 24, 2011 at 16:24 UTC ( #911272=note: print w/replies, xml ) Need Help??


in reply to string operations of arithmetic

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://911272]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-12-12 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (332 votes). Check out past polls.

    Notices?