my %score = ( WPA => 1, WPA2 => 2, WEP64 => 3, # ... );
Than, just search for the maximum. You might need a reversed hash to retrieve the type back from the maximum.
In reply to Re: Search an array for values sequentially
by choroba
in thread Search an array for values sequentially
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |