#!/usr/bin/perl -w use strict; my %ERROR; my %ERROR2; my @classes = ('H','S','O'); my $output = < $ERROR2{$CLASS}{$b}{time} } keys %{$ERROR2{$CLASS}}) { print "CLASS $CLASS : Time : $ERROR2{$CLASS}{$nr}{time} Description: $ERROR2{$CLASS}{$nr}{desc}\n"; } }