Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-10-23 02:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.