elem has asked for the wisdom of the Perl Monks concerning the following question:
i created mldbm(DB_File,Data::Dumper) on windows-2000 platform. i dont have any problem to read that DB from sun station but i couldnt read it from linux station.
and vice-versa(produce on linux couldnt read from sun station. also produce on sun couldnt read it from linux):
here is the code portion i used to connect tothe MLDM db:
and here is the error code ive got:use DB_File; use Data::Dumper; use MLDBM qw(DB_File Data::Dumper); $dbPath = "x.dat" tie %db, 'MLDBM', $dbPath, O_RDONLY, 0640 or die $!;
MLDBM error: Second level tie failed, "" at mldbm2.pl line 10
is that the situation that MLDBM not portable across (windows,sun) and linux or did ive done something wrong?
itamar20030403 Edit by Corion: Added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mldbm portability (windows,solaris)<->linux
by benn (Vicar) on Apr 03, 2003 at 09:53 UTC | |
|
Re: mldbm portability (windows,solaris)<->linux
by Improv (Pilgrim) on Apr 03, 2003 at 14:48 UTC |