[nick:~/monks]$ perl 1140269.pl $VAR1 = { '1' => { 'country' => 'NZ', 'mailbox' => 'inbox', 'subscribe' => 'yes' }, '2' => { 'country' => 'UK', 'mailbox' => 'inbox', 'subscribe' => 'no' }, '3' => { 'country' => 'UK', 'mailbox' => 'outbox', 'subscribe' => 'yes' } };