in reply to newbie: DB versus DIR/PAG database files
The .dir and .pag is the ndbm database extension default on the Windows perl platform. Because when you try to open the file "filename" without the ".db" extension, the system will try to find matching "filename.dir" and "filename.pag" by default, when not found, the system will try to create one for you. Thus you need to be more specific and give "filename.db" instead.dbmopen(%DATA, "filename.db", 0600) || die "Darn!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: newbie: DB versus DIR/PAG database files
by shenme (Priest) on Sep 23, 2003 at 02:24 UTC | |
by Cody Pendant (Prior) on Sep 23, 2003 at 03:12 UTC | |
by kleucht (Beadle) on Sep 30, 2003 at 00:18 UTC |