Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Scalar range operator again

by sundialsvc4 (Abbot)
on Jul 06, 2012 at 16:36 UTC ( #980316=note: print w/ replies, xml ) Need Help??


in reply to Scalar range operator again

And, in my humble opinion, the “flip-flop operator” is one of the total flops in the legacy design of Perl.   I studiously avoid using it, partly because I have been so badly bitten by code that did use it.   When I stumble upon it, I excise it.   Perl incorporates many clever and useful ideas, but this one is a turkey, because (as you see for yourself) you cannot “glance” at the code and immediately see at a glance what it will actually do.   I choose to instead to write a “boring, old, space-wasting” if-statement block that “obviously” describes what I want the computer to do.

I really don’t want to start any sort of “flame war” here; it would be pointless to all.   Up/Down votes will more than suffice.


Comment on Re: Scalar range operator again

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2015-07-28 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls