Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The script that writes to the database originally works just fine, it only displays 10 keys at a time but it works perfectly at 1400+ messages. Why is this not working to display the last 100? It just locks up at about 100.
print header, start_html('DB printing'); print "<table>"; for (grep defined($_), (keys %db)[-1 .. -100]) { . . .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printing last 100 keys from hash
by DrHyde (Prior) on May 21, 2004 at 07:37 UTC | |
by Anonymous Monk on May 21, 2004 at 15:45 UTC | |
by Anonymous Monk on May 21, 2004 at 16:12 UTC | |
|
Re: printing last 100 keys from hash
by guha (Priest) on May 21, 2004 at 10:49 UTC | |
|
Re: printing last 100 keys from hash
by eric256 (Parson) on May 21, 2004 at 15:12 UTC |