|Perl Monk, Perl Meditation|
Array Sortby gopalr (Priest)
|on May 10, 2011 at 02:10 UTC||Need Help??|
gopalr has asked for the
wisdom of the Perl Monks concerning the following question:
I need your help to sort the array content.
The array has following value and the each value has delimitted by '-'.
I need to sort the array by middle of the value. For example, the array output should be the following
I tried to sort by using the cmp and <=>, but I need to sort middle of the value.
Please guide me.