in reply to Re: Printing out an Array of an Array...
in thread Printing out an Array of an Array...

Thank you so much!! You really helped me out. I am really close. The only thing that I need to get right is the order of each temperature in the file. Right now the "sort keys" puts the temperature order: 20, 40, 80. I need it to be 40, 20, 80.

One line from input file is

+00.28 +00.78 +00.36 +00.0 +00.0 +00.0 -40 20 43

the -40 is the temperature

  • Comment on Re^2: Printing out an Array of an Array...

Replies are listed 'Best First'.
Re^3: Printing out an Array of an Array...
by poj (Abbot) on Feb 03, 2017 at 20:45 UTC

    Change this line

    #foreach my $temp (sort keys %{$output{$axis}}) { foreach my $temp (40,20,80) {
    poj
      That did it! Thank you so much!!!