Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: finding next key in db_file

by sulfericacid (Deacon)
on Aug 16, 2006 at 05:04 UTC ( #567604=note: print w/ replies, xml ) Need Help??


in reply to Re^3: finding next key in db_file
in thread finding next key in db_file

All in all, this sounds more like a job for MySQL for the fun sorting and data integrity. I think this would work just fine if the user always checked what the last element was before creating a new element.

You're right, it's not the most efficient way of going about it if there are large gaps.



"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


Comment on Re^4: finding next key in db_file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-11-27 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls