my %h = ( correct => $some_value, date => $other_value, ... ); # later on you can retrieve the data like this, without any iteration: my $date = $h{'date'}; my $cor = $h{'correct'};