[tpm] OID sorting
Indy Singh
indy at indigostar.com
Sat May 2 09:24:55 PDT 2009
Thanks, I stand corrected. The comment was wrong, but the code works.
Indy Singh
IndigoSTAR Software -- www.indigostar.com
----- Original Message -----
From: Fulko Hew
To: Indy Singh
Cc: Toronto Perl Mongers
Sent: Saturday, May 02, 2009 12:05 PM
Subject: Re: [tpm] OID sorting
On Sat, May 2, 2009 at 11:58 AM, Indy Singh <indy at indigostar.com> wrote:
... snip...
my @list = (
"1.3",
"1.2.3",
"1.2.3.1",
"1.2.4.1",
"1.2.30",
"1",
"1.2",
);
# The expected sort order is the same as the order above
The expected order for the above set is:
1
1.2
1.2.3
1.2.3.1
1.2.4.1
1.2.30
1.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20090502/aea6a782/attachment.html>
More information about the toronto-pm
mailing list