in reply to Best way to parse my data

I'd go with a hash and an array:

The hash (let's say %groups) has the group name as the key, and the host information as value.

The just holds the names of the frozen groups. For each such name you can look up the host information in %groups and find out to which host it is on.

Perl 6 - links to (nearly) everything that is Perl 6.