Hi,
I've just moved from Perl 5.005-03 on Redhat 6 to Perl 5.6.0 on Linux Mandrake 8 and I'm now having problems with accessing DB files via dbmopen.
Previously, I only needed to specify the filename, but now I have to specify the filename AND extension Eg:
To open a DB file called '/tmp/MyDb.db':-
Perl 5.005 code = dbmopen(%H,'/tmp/MyDb', 0666);
Perl 5.6.0 code = dbmopen(%H,'/tmp/MyDb.db', 0666);
How do I get Perl 5.6.0 to add the extension automatically?
I don't really want to have to go through all the code changing every instance unless absolutely necessary as there's a lot of it!
Thanks for any help in advance,
Mark.
I've just moved from Perl 5.005-03 on Redhat 6 to Perl 5.6.0 on Linux Mandrake 8 and I'm now having problems with accessing DB files via dbmopen.
Previously, I only needed to specify the filename, but now I have to specify the filename AND extension Eg:
To open a DB file called '/tmp/MyDb.db':-
Perl 5.005 code = dbmopen(%H,'/tmp/MyDb', 0666);
Perl 5.6.0 code = dbmopen(%H,'/tmp/MyDb.db', 0666);
How do I get Perl 5.6.0 to add the extension automatically?
I don't really want to have to go through all the code changing every instance unless absolutely necessary as there's a lot of it!
Thanks for any help in advance,
Mark.