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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db sorting

Status
Not open for further replies.

sulfericacid

Programmer
Aug 15, 2001
244
0
0
US
I'm using DB tree to store/retrieve records. It works nicely for the most part but I'm having some difficulty getting passed the 25 data entries.

I'm telling the script to look through and print out the newest 25 entries, which it does. But that's it. After you hit 25 no other data is printed (for some reason it only works TO item #25 rather than pushing the older one off. Can someone explain a possible solution?

for (grep defined($_), (keys %book)[0..24]) {

"Age is nothing more than an inaccurate number bestowed upon each of us at birth as just another means for others to judge and classify us- sulfericacid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top