Problems? Is your data what you think it is? | |
PerlMonks |
MLDBM::Easy does not update data structureby gctaylor1 (Hermit) |
on Jun 23, 2009 at 01:23 UTC ( [id://773819]=perlquestion: print w/replies, xml ) | Need Help?? |
gctaylor1 has asked for the wisdom of the Perl Monks concerning the following question: Monks, I'm trying to use MLDBM::Easy so I can update a value in a HoA without having to use a temporary variable, but the value is not updated. The perldoc for MLDBM::Easy says:This module allows you to work with multi-dimensional databases, just like MLDBM, but it does work behind the scenes to allow you to treat the multi-dimensional database like a normal data structure. Basically, you don't need to use the piecemeal access that MLDBM required: The following things do work making me think my data structure is ok:
Which yields the following output: 0 1 2 0 1 2 It seems like I must be doing something wrong!? Any suggestions? Thank-you.
Back to
Seekers of Perl Wisdom
|
|