Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Testing for 16 possible combinations with 4 pull-down menus

by waswas-fng (Curate)
on Dec 10, 2004 at 16:34 UTC ( [id://413897]=note: print w/replies, xml ) Need Help??


in reply to Testing for 16 possible combinations with 4 pull-down menus

Are you gaining anything by using binary numbers to describe the states? If you can't simplify lookups or checking with bitwise operations on the states then just use a plain english lookup table -- simplify your code and make it more readable.


-Waswas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found