<snip> > > > > > > I expact the output to be > > > > > > Unknown =>: > > > VENDOR :Unknown > > > CPU-MODEL :model1 > > > Unknown =>: > > > VENDOR :Unknown > > > CPU-MODEL :Unknown > > >
I am confused as to why you think you need a HoHoH, when what you originally displayed above is really a HoAoH because the first 'Unknown' has multiple entries, which is impossible to replicate with a Hash since it is a one-to-one relationship, one key to one value. If you still feel so and are having problems, provide us more of the data and a larger example of what you expect and we will be able to get it sorted. Fast access through a hash is good, but correct access even if requiring a loop is always better than the wrong structure for the data. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>