in reply to Printing Table of Contents From an Array On Multiple Pages

I use Data::Page for that (there are others too, such as Data::Pagination and Data::SimplePaginator). This is not a trivial problem to solve so don't be disconcerted if you don't solve it in less than a few days.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)