in reply to Re: DBM::Deep Problem
in thread DBM::Deep Problem

Yeah, I had read that.
The author seemed to believe it was a rare problem though, and the autovivification I was attempting wasn't that complex.
Also, I didn't want to believe it wouldn't work because I desperately needed it to :-)
It's working a treat now though.
Cheers again guys (and gals)

Replies are listed 'Best First'.
Re^3: DBM::Deep Problem
by demerphq (Chancellor) on May 18, 2005 at 11:18 UTC

    IMO the author is being highly optimistic in his description. This problem is well known and wont go away any time soon.

    ---
    $world=~s/war/peace/g

      Seems like a patch to make a pragma that makes autovivification a fatal error would be rather easy to write and would be useful here and for other uses.

      - tye        

      In that case I have learned a milestone lesson in my perl career.

      Don't trust people who know more than me ;-)

        I think the point here is that without knowing Mr. Huckaby personally its difficult to asses his knowledge level. By the look of the module it would appear he is a competent fellow, but that section on Tie's suggests he might not be so well informed about some of perls esoterica. At the very least it would appear that he is discounting comments in MLDBM, something that is IMO unwise as the author, Gurusamy Sarathy, is a former pumpking (responsible for 5.6) which makes his opinion carry considerable weight.

        ---
        $world=~s/war/peace/g

Re^3: DBM::Deep Problem
by astroboy (Chaplain) on May 18, 2005 at 10:34 UTC
    I tried using DBM::Deep for a full text search engine. The autovivification problem popped up quite a bit, so I gave up. Still use DBM::Deep for other applications, though. It's pretty nice.