Think about Loose Coupling | |
PerlMonks |
Re: Printing Table of Contents From an Array On Multiple Pagesby kcott (Archbishop) |
on Jul 11, 2013 at 09:47 UTC ( [id://1043675]=note: print w/replies, xml ) | Need Help?? |
G'day Milti, "... (I know how to do that) but wish to limit the number of items per page to 10 while including a footer saying next page or whatever. How do I do that?" The logic for that is fairly straightforward. Using less filenames and shorter pages for demo purposes:
In case you were wondering, 'unless $current_item == @files' stops the "Next Page" message being output when the end of page coincides with the end of data. Using one less file:
-- Ken
In Section
Seekers of Perl Wisdom
|
|