Sorry, that was meant for 'williamawalters' (multi-key recursive approach),
not Barry :)
Rex
On Thu, Apr 1, 2010 at 3:39 PM, rex njoku wrote:
> Barry,
>
> Haven' t tried your code yet, but from what you wrote as your results...It
> is wrong. In your results, you have:
> CALIBRATION1
> CALIBR
Barry,
Haven' t tried your code yet, but from what you wrote as your results...It
is wrong. In your results, you have:
CALIBRATION1
CALIBRATION02
YESTECH-L3-RW1
YESTECH-L03-RW2
The correct order is supposed to be:
CALIBRATION02
CALIBRATION1
YESTECH-L03-RW2
YESTECH-L3-RW1
Rex
On Thu, Apr 1,
-Original Message-
From: Barry Brevik
To: activeperl@listserv.ActiveState.com
Sent: Wed, Mar 31, 2010 8:36 pm
Subject: Help with sort
> I'm having a problem sorting data items that are alpha-numeric strings. I
know how to do it if the string is all alpha or all n
CH-L4-RW125
Bour9
-Message d'origine-
De : activeperl-boun...@listserv.activestate.com
[mailto:activeperl-boun...@listserv.activestate.com] De la part de Francisco
Zarabozo
Envoyé : jeudi 1 avril 2010 06:00
À : Barry Brevik; activeperl@listserv.ActiveState.com
Objet : Re: Help with sort
Hi
Barry Brevik <> wrote:
> I'm having a problem sorting data items that are alpha-numeric
> strings.
> I know how to do it if the string is all alpha or all numeric, but
> the combo eludes me.
>
> Take as example the following code. It is my desire that the machine
> names be processed in the orde
Hi,
I wrote this sorting subroutine for those cases. It works very fine to me, I
hope it works for you. Include this subroutine in your code and then only
use lines like the following when sorting data:
for my $key (sort alphaANDnumeric keys %mdata) {
print "$key\n";
}
The subroutine I wro
Barry Brevik wrote:
> I'm having a problem sorting data items that are alpha-numeric strings.
> I know how to do it if the string is all alpha or all numeric, but the
> combo eludes me.
>
> Take as example the following code. It is my desire that the machine
> names be processed in the order that
On Mar 31, 2010, at 8:36 PM, Barry Brevik wrote:
> I'm having a problem sorting data items that are alpha-numeric strings.
> I know how to do it if the string is all alpha or all numeric, but the
> combo eludes me.
>
> Take as example the following code. It is my desire that the machine
> names