in reply to Re: hash keys, %
in thread hash keys, %
The code I used is
What exactly is being stored in @keys? The total of keys from the hash or all the key/value information from the hash and using this as an easier method to count each of them?my @keys = sort keys %upload; my $group = 0; while (my @group = splice(@keys, 0, 20)) { $group++; my $url = "http://sulfericacid.perlmonk.org/gallery/galleryprint2.pl"; print qq(<a href="$url?page=$group">$group</a><br>\n); }
Thanks again for all your help! If you want to see why I needed this, http://sulfericacid.perlmonk.org/gallery/galleryprint2.pl.
"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: hash keys, %
by blokhead (Monsignor) on Jul 29, 2003 at 01:30 UTC |