in reply to Re^2: altering value in tied hash
in thread altering value in tied hash

perl 5.10.0 $BerkeleyDB::db_version 4.6

When I put the four operations (load tied hash, assess hash, modify hash, reassess hash) in separate files and run them sequentially, I get the same results.

Replies are listed 'Best First'.
Re^4: altering value in tied hash
by Anonymous Monk on Jun 26, 2016 at 21:11 UTC

    :D You're missing a version number

    Anyway, its a bug, report it to the author, pmqs@cpan.org

    It may be a bug in "db" itself resolved in a new version

    It may be expected behaviour (unlikely) which ought to be documented

    The author/developer/maintainer ought to have an idea

      I heard from maintainer Marquess.

      http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_ +stability.html
      explains that modifying a value in an each iteration on a tied hash is not allowed unless transactions are used.