Help for this page
my %menu_structure; for (@menu_specification) { my ($toplevel, @sublevel) = split /\|/; ... push @{ $menu_structure{$toplevel} }, @sublevel; } }