The File type mismatch is due to the creation of the database 'test.db' using DBM::Deep 1.0006 then downgrading the module to 0.983 and trying to access the same file. You need to delete test.db and allow the script to recreate (or upgrade the db, which isn't worth it in this case).
I tried creating DBM::Deep 1.0006 with nmake, and was partially successful: the creation worked, but several of the tests fail, and it caused some strange errors with my code. ActiveState may have run into the same trouble. So, I reverted to 0.983. However, I believe I "discovered" the source of my original 'tied' error: I was working on a mapped network drive, not a local drive. I don't know for sure, but since moving to a local drive my code works, even with 0.983. So.. now that I've troubleshot my test script, it's time to actually troubleshoot the original problem (something using Data::Compare with DBM::Deep). :) Thanks for the help! On Jan 7, 2008 3:02 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > > On Jan 7, 2008 6:22 AM, Roman Daszczyszak <[EMAIL PROTECTED]> wrote: > > On Jan 4, 2008 5:45 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > > <snip> > > > When I downgrade to 0.983 I immediately get "DBM::Deep: File type > > > mismatch" even with your original code. I would suggest upgrading > > > DBM::Deep to version 1.0006. > > > > > Unfortunately, the Activestate Windows build for 5.8 DBM::Deep 1.0006 > > failed, so I don't have that option I guess. > > > > DBM::Deep is a pure Perl module (no C code). You can install it by > downloading it from CPAN and install it yourself. Making a Perl > module is as easy as > > perl Makefile.pl > nmake > nmake test > nmake install > > You may need to install nmake if you haven't already. You can get it > here http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084 > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
