Do you know where your variables are? | |
PerlMonks |
Sorting a Hashby LostS (Friar) |
on Oct 19, 2001 at 00:18 UTC ( [id://119792]=perlquestion: print w/replies, xml ) | Need Help?? |
LostS has asked for the wisdom of the Perl Monks concerning the following question:
Hey Everyone OK The company I am with wants me to accomplish this. Take 4 flat files. Each one contianing the names and info of the employees in that department. They want a search engine. I need to search each file if they select all or search search individual files if they select a group. Now my issue is on sorting. I need to sort first by the last name then by the first name. So say Williams, John will come before Williams, Sam. How would I setup this type os sort criteria where it sorts by last name then sorts by first name... Any suggestions or questions?? ----------------------- Billy S. Slinar Hardtail - Guildless Datal Ephialtes - Guildless RallosZek.Net Admin/WebMaster Aerynth.Net Admin/WebMaster
Back to
Seekers of Perl Wisdom
|
|