Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Range Operator in If Statement

by LanX (Canon)
on Jan 05, 2012 at 22:51 UTC ( #946490=note: print w/ replies, xml ) Need Help??


in reply to Re: Range Operator in If Statement
in thread Range Operator in If Statement

in continuation of Re^3: Range Operator in If Statement

DB<118> for $ref (1,8,9,16,17,24,25,32) { print "$ref: ", chr(65+($r +ef-1)/8), "\n" } 1: A 8: A 9: B 16: B 17: C 24: C 25: D 32: D

Cheers Rolf


Comment on Re^2: Range Operator in If Statement
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-05 17:39 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 (67 votes), past polls