$_ = [shopping => [map {[item => $_]} qw(bread butter beans)]];