Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello monks,
I'm still new to Perl and have a sorting question. I've tried everything I can think of, and have come up with nothing. I have an array, consisting of workstation_1_1, workstation_1_2, voiceserver_1_2, voiceserver_1_1 ect.... Now I would like to be able to sortthis array by the digits so my output would be workstation_1_1 voiceserver_1_1 workstation_1_2 voiceserver_1_2 I know how to do this in C++ and Java, but with Perl....NO IDEA. Is there such an thing as a struct in PERL? Thanks In reply to sorting with substrings by JFarr
|
|