use strict; my $ref; $ref->{'hash'}->[0]->{'hash2'}->{'hash3'} = 'go go gadget autovivify!'; print $ref->{'hash'}->{'hash2'}->{'hash3'};