in reply to Re: newbie: DB versus DIR/PAG database files
in thread newbie: DB versus DIR/PAG database files

Tried this on my Win32 system (w/o DB_File installed) and it created "filename.db.pag" and "filename.db.dir".

After installing module DB_File and adding "use DB_File;" before the dbmopen() AND using "filename.db" instead, a file was created with this name.   But I don't know if this is what the original poster needs - DB_File that is.   He needs to tell us more?

  • Comment on Re: Re: newbie: DB versus DIR/PAG database files

Replies are listed 'Best First'.
Re: Re: Re: newbie: DB versus DIR/PAG database files
by Cody Pendant (Prior) on Sep 23, 2003 at 03:12 UTC
    He needs to tell us more?

    I don't think he does. He's moved his .db files to the new machine, but can't open them with dbmopen() because his version of dbmopen() finds that the .pag and .dir files don't exist and creates them. He needs to switch to DB_File to get the dbmopen() call to find and use the .db file.



    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
      From original submitter:

      Yeah, I guess I need to install DB_File module and use it. Too bad I don't have administrative permissions on this machine. How can I get ahold of an unzipped version of the file "DB_File.pm"? I cannot install WinZip without Admin permissions.

      Kurt