foreach my $station (@stations) { my $table_type = $params->{local}->{$station}->{realtime}->{table_type}; print $table_type."\n"; } exit;