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.


Comment on Re: string operations of arithmetic

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://911272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-10-01 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (13 votes), past polls