|Don't ask to ask, just ask|
sorting with substringsby JFarr (Sexton)
|on May 25, 2006 at 21:35 UTC ( #551715=perlquestion: print w/replies, xml )||Need Help??|
JFarr has asked for the wisdom of the Perl Monks concerning the following question:
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
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?
Back to Seekers of Perl Wisdom