Solved

DBM files and perl

Posted on 1998-09-23
2
336 Views
Last Modified: 2010-03-05
Hi.
I have a simple perl program and I´m using DBMfiles to store data. Well, here comes the problem. I made the program and run it on a Redhat platform, but when we changed to slakware there is another type of DBM files - *.dir and *.pag. Why? Can I still use the old *.db files from the redhat platform?

Regards
Claes
Sweden
0
Comment
Question by:cl071997
2 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 100 total points
ID: 1204959
Try ignoring the issue until you want to convert:


use AnyDBM_File;

dbmopen(%DB, '/data/path/foo',0666);

0
 

Author Comment

by:cl071997
ID: 1204960
I see. Thank you.

Claes
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SIMPLE Perl Regex 1 162
How to delete rows in a file based on the file name. 5 61
How to strip .csv from file name 9 83
Formatting stings with pack and printf in perl 5 77
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question