in reply to A problem with eval via DB_File->filter_fetch_value() and AUTOLOAD

Convert to DBM::Deep and your problems should disappear.

The Perfect is the Enemy of the Good.

  • Comment on Re: A problem with eval via DB_File->filter_fetch_value() and AUTOLOAD

Replies are listed 'Best First'.
Re^2: A problem with eval via DB_File->filter_fetch_value() and AUTOLOAD
by dgorski (Initiate) on Apr 26, 2005 at 18:30 UTC
    Any chance you might be able to explain why?

    Specifically, why does $x = $rec not copy the reference?

    Thanks,

    - Darrin

      I'm not certain of all the underlying magic, but I do know that DBM::Deep is the only DBM that is (almost) guaranteed to work with all of Perl's craziness. Try it out and see if it works for you.

      The Perfect is the Enemy of the Good.

        DBM::Deep is one of the craziest perl modules ever written, and won't come close to the performance of DB_File. It's pretty cool, but I wouldn't consider it a 1-1 replacement for DB_File.