Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: flip-flop interpolation

by johngg (Canon)
on May 13, 2015 at 15:45 UTC ( #1126568=note: print w/replies, xml ) Need Help??


in reply to Re^2: flip-flop interpolation
in thread flip-flop interpolation

You could use the constant pragma but it is not really saving you anything.

$ seq 1 6 > lines $ cat lines 1 2 3 4 5 6 $ perl -ne ' > use constant { I => 3, J => 5 }; > print if I .. J;' lines 3 4 5 $

I hope this is of interest.

Cheers,

JohnGG

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-01-20 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?