Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: getting rid of special features

by LanX (Canon)
on Feb 17, 2013 at 20:06 UTC ( #1019204=note: print w/ replies, xml ) Need Help??


in reply to Re^3: getting rid of special features
in thread getting rid of costly special features

> It's nicely symmetric with how ranges of strings work:

yes and no!

DB<115> $a="aa"; print --$a -1

that much about orthogonality in Perl. :(

Cheers Rolf


Comment on Re^4: getting rid of special features
Download Code
Re^5: getting rid of special features
by moritz (Cardinal) on Feb 17, 2013 at 20:36 UTC
      I meant yes (ranges) and no (decrement)

      The symmetry between integers and strings is broken.

      Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-10-25 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls