Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-01-23 04:45 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (238 votes). Check out past polls.