in reply to Hash keys affect sorting

Just a quick observation. Your split /\n/,$output will have the effect of removing the newlines from each line as the split delimiter is not included in the resulting list. Thus the following chomp $line; is superfluous.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: Hash keys affect sorting
by 0xbeef (Hermit) on Jul 07, 2006 at 21:12 UTC
    Well spotted - it's an oversight that happened when I simplified the actual code into an example...

    Niel