http://www.perlmonks.org?node_id=88295

arv has asked for the wisdom of the Perl Monks concerning the following question:

The format of the file is like this:
1.2.3.4,1.2.3.255,USA
2.3.4.0,2.3.4.25,USA
124.2.3.0,124.2.3.255,Argentina
I need to sort the file based on IP Address, country wise
How can I do this?

Originally posted as a Categorized Question.