Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

It works on a unix server but not NT

Status
Not open for further replies.

ianpowell

Programmer
Jan 5, 2003
2
GB
I am reading a book called perl for dummies. It has a section on databases.
The example it shows using the following command.

dbmopen(HANDLE, filelocation, 0600);

I have written a program which works fine on my web site but not on my personal pc. On my website it creates a .db file and when ran on my own machine the same program generates a .dir and a .pag

Any ideas why. I am have tried installing perl 5.6 and in desperation loaded 5.8. Still no difference
 
Are all the required packages installed on your local PC?
 
I have installed Activestate Perl 5.8

I have tried going into PPM and installing DB_File thinking that might be the problem.

When I try PPM it states it cannot find this package.

I tried CPAN and unless I misunderstood it said it was included in perl 5.8 and yet when I add the line : use DB_File : Perl responds with package not found.

I'm almost at the point of giving up.
 
I would give up, to be honest. I've used dbm files a few times and now hate them with a passion that makes people nervous.

Do you have any other options? Could you, for instance, use MySQL as your database? Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top