sub func { my $arr =shift; print "First: $arr->[0]"; print "Nested List @{$arr->[0]}"; }