http://qs1969.pair.com?node_id=578813


in reply to Re: If I was forced to program in another language, the Perl language feature I would miss most would be:
in thread If I was forced to program in another language, the Perl language feature I would miss most would be:

Adding

grow(grid, $rec->{x}); grow(grid[$rec->{x}], $rec->{y});

is not that complicated. Personally, I wish auto-vivification was off by default, and togglable using a lexical pragma.