die 'not an array ref' unless $data && 'ARRAY' eq ref $data; # TODO get better diag to user
# in particular duplicate ids tend to come up as a user error when editing the menu files
die 'not an array ref' unless $data && 'ARRAY' eq ref $data; # TODO get better diag to user
# in particular duplicate ids tend to come up as a user error when editing the menu files