The stupid question is the question not asked | |
PerlMonks |
Re: Testing for 16 possible combinations with 4 pull-down menusby waswas-fng (Curate) |
on Dec 10, 2004 at 16:34 UTC ( [id://413897]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|