in reply to Re: 5.24 -> 5.28 -- what has changed in autovivification?
in thread 5.24 -> 5.28 -- what has changed in autovivification?

Thank you for hints. I will check diver module.

PS. In case anybody has the same problem versions were from Debian Stretch and Buster installations:

# command: # perl -e 'print $], "\n"; ' ; dpkg -l | egrep autovivifi # Debian buster: 5.028001 ii libautovivification-perl 0.18-1+b1 amd +64 pragma for lexically disabling autovivification # Debian stretch: 5.024001 ii libautovivification-perl 0.16-1+b2 + amd64 pragma for lexically disabling autovivification

Replies are listed 'Best First'.
Re^3: 5.24 -> 5.28 -- what has changed in autovivification?
by swl (Prior) on Apr 18, 2020 at 00:36 UTC
      #!/usr/bin/env perl use warnings; use strict; no autovivification qw{fetch store exists delete}; my $h = { a => { p => 2, q => 3 } }; print "perl ver $], autoviv ver $autovivification::VERSION:\n"; ! $$h{a}{x}{z} and print "a/x/z not\n"; __END__ perl ver 5.024004, autoviv ver 0.16: a/x/z not perl ver 5.028001, autoviv ver 0.16: a/x/z not perl ver 5.024004, autoviv ver 0.18: Can't vivify reference at a.pl line 9. perl ver 5.028001, autoviv ver 0.18: Can't vivify reference at a.pl line 9.