You can either pack the OIDs back into one large number and then sort on that number, or you can do a natural sort on the strings, either with one of the solutions posted by tye or by using Sort::Natural. A natural sort usually splits a string on numbers and then sorts the list by comparing non-numbers as strings and numbers as numbers.
In reply to Re: Net::SNMP question
by Corion
in thread Net::SNMP question
by giany
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |