Y
Hacker News
new
|
ask
|
show
|
jobs
by
sekia
1049 days ago
Seems a subset of it. Practicality aside, Perl can autovivify not only hashes but also arrays:
my %x; $x{foo}[1]{bar} = 42; # %x is ( foo => [ undef, { bar => 42 } ] )