in reply to
how to print sorted data
<=>
only sorts numbers; you want to use
cmp
to sort strings.
Comment on
Re: how to print sorted data
Select
or
Download
Code
In Section
Seekers of Perl Wisdom