in reply to Re^2: No autovivification, for loop aliasing, lvalue vs rvalue in for loops
in thread No autovivification, for loop aliasing, lvalue vs rvalue in for loops

Why I stop autovivification... I am processing information about manufacturing mirrors in our company (dubielvitrum.pl), and two hashes are compared and during that comparison they are modified. I don't want hash to be modified when I just look for values in it. Another reason is I want to have warnings when I try to write on deep levels on such hashes, because this means error quite often.
  • Comment on Re^3: No autovivification, for loop aliasing, lvalue vs rvalue in for loops

Replies are listed 'Best First'.
Re^4: No autovivification, for loop aliasing, lvalue vs rvalue in for loops
by Anonymous Monk on Sep 02, 2016 at 21:27 UTC

    I don't want hash to be modified when I just look for values in it. Another reason is I want to have warnings when I try to write on deep levels on such hashes, because this means error quite often.

    :) You don't need autovivification.pm module for that, see Data::Diver