http://www.perlmonks.org?node_id=446438


in reply to The Bad, the Ugly, and the Good of autovivification

Yeah, I think a lot of people get bitten by that and I certainly did when I was new. This isn't a recent issue and Brent gave us Hash::NoVivify five year ago. Still, I see no one using it. How about making Hash::NoVivify or some equivalent module a standard module so people don't have to reinvent this tiny wheel all the time?

ihb

See perltoc if you don't know which perldoc to read!