in reply to Re: Request help on optimizing a loop for looking up numbers
in thread Request help on optimizing a loop for looking up numbers
Thank you for your reply Laurent_R.
That is close to what I want. Again, I probably did not do a good enough job explaining what I want. Sorry. The look up you have is close, but I want a check similar to yours that will check for the numbers between the range. Given '7-12', the code will check for 7,8,9,10,11, and 12.Is there something I can use that is similar to your check, but will essentially look for this ?
if ( exists $hash{7} || exists $hash{8}... exists $hash{12} )Ideally
if ( exists $hash{7..12} ) Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Request help on optimizing a loop for looking up numbers
by Laurent_R (Canon) on Dec 11, 2013 at 16:49 UTC | |
|
Re^3: Request help on optimizing a loop for looking up numbers
by Anonymous Monk on Dec 11, 2013 at 16:51 UTC |