Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: DB_File, not saving

by sulfericacid (Deacon)
on Jul 17, 2003 at 19:20 UTC ( [id://275348]=note: print w/replies, xml ) Need Help??


in reply to Re: DB_File, not saving
in thread DB_File, not saving

Then what do you suggest? I need to tie %chat to Tie::IxHash to retain insertion order and I need tie it to the DB_File or it's useless.

"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid

Replies are listed 'Best First'.
Re: Re: Re: DB_File, not saving
by sauoq (Abbot) on Jul 17, 2003 at 19:28 UTC
    Then what do you suggest?

    I suggest you use an array instead of a hash and tie to DB_file using the DB_RECNO file type.

    -sauoq
    "My two cents aren't worth a dime.";
    

      Also good, DB_BTREE. The keys are always in sorted order.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found