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

Re: Re: Re: Re: Character++

by ignatz (Vicar)
on Sep 08, 2002 at 00:03 UTC ( [id://195938]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Character++
in thread Character++

Couldn't you make the same arguments for 'Z'++? If you're gonna do the one, do the other.

I figure that the rule of least surprise outweighs the fact that chr( ord('a') - 1) returns a backtick on most people's computers. ++ two equals three, -- two equals one; ++ 'b' equals 'c', -- 'b' equals '-1' Huhh??!!

Sure, in the grande scheme of things, what's the diff. In my book this rates right up there with elsif. Another one of Perl's quirky little roadblocks that make people think.

()-()
 \"/
  `                                                     

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-29 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found