tonyperl has asked for the wisdom of the Perl Monks concerning the following question:
i just finished writing an invoice with pdf::api2. i start with a template that i open and print invoice line items to that page. when that page is full i create a new page. after printing several pages and just before i close/save the pdf and move on to the next doc, i'd like to figure out how many pages i have and then reference the first page and add page 1 of n pages to the bottom of the page. then i'd like to go to the next page and print page 2 of n pages etc...
Does anyone know a good approach for doing this?