in reply to Re: Accessing deeply burried arrays of hashes
in thread Accessing deeply burried arrays of hashes
Uh, you're missing a curly set:@$tophash{$value}{$value2}
Without that, it parses like:@{$tophash{$value}{$value2}}
$tophash must be a hashref, so deref it as a slice with $value being the (only) key, then take that slice (ugh) and deref it (them?) as a hashref with $value2 for the key.Definitely perverted. Almost certainly wrong.
-- Randal L. Schwartz, Perl hacker
|
|---|