>>>>> "Michael" == Michael C Robinson <plu...@robinson-west.com> writes:

>> Show me what might be in $a and $b there, and what order you want them
>> in.

Michael> I saw $a <=> $b described as magic on the web, I know nothing
Michael> about it.

It's two elements of the list.

Michael> Binary format as in I went from a string to a binary number via:

Michael> Net::IP::ip_iptobin($ip_string,4);

Oh, those are simple.  They're already just a series of bits. Sort them
string-wise:

my @sorted = sort @original_list;

Done. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion

_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to