for (@data) { my ($column, $options) = @$_; print $column . ': '; foreach my $option (@$options) { print ' ' . $option . ' '; } }