Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: DBM Portability?

by Anonymous Monk
on Oct 03, 2002 at 12:43 UTC ( #202493=note: print w/ replies, xml ) Need Help??


in reply to Re: DBM Portability?
in thread DBM Portability?

So if I don't want to go through the hassle of recreating DBMs when I copy from one computer to another, and if possible, not to worry about checking versions on all of my computers to make sure they're the same, and I don't want to hassle with using dd or cpio, what options to I have?


Comment on Re: Re: DBM Portability?
Re: Re: Re: DBM Portability?
by hiseldl (Priest) on Oct 03, 2002 at 13:45 UTC
    1. Make sure you are using the same format on each machine. You could use tie %hash, DB_File, 'file'; which specifies which DB type you want to use explicitly (unless you use AnyDBM_File :). Also, dbmopen has been deprecated since Perl 5.
    2. Try compressing the data file and then transferring, or, if there's more than one, compress all of them first, and then tar them together.

    --
    hiseldl
    What time is it? It's Camel Time!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://202493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-09-20 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls