in reply to Finishing Touches
This above will set @sorted to: amos, brian, george, mike, paul, peter, ray, steve. Note this will place the items in ascii order so if you have numbers in the array, like '7892 and '92', '7892' would actually come before '92' because '7' comes before '9'. To place things in numerical order, you would use@array = ('george', 'mike', 'steve', 'ray', 'paul', 'brian', 'peter', +'amos'); @sorted = sort @array;
@sorted = sort {$a <=> $b } @array;
The first thing that pops into my head for the second half of your question is to create a script that will generate an html page for each group of 10 files. This will give users the ability to jump form page to page randomly as well as sequentially.
Hope this helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finishing Touches
by cLive ;-) (Prior) on Apr 02, 2001 at 04:53 UTC | |
by cLive ;-) (Prior) on Apr 02, 2001 at 06:38 UTC |