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

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

I have a record which are delimited by semicolons. Example
area1:place1:name1 area2:place2:name2
I do know that i can sort it using sort function which is going to sort by seeing the starting characters of the record. But i would like to sort by the second column ( place1 ) of the record. Is it possible by any existing function or do i need to write code to satisfy this criteria.

Thanks for helping me.

Edit by dws to add code tags and expand title