my $foo = 'info'; print $menu{$foo}[0]; # will print the first item in @menu_info as well