but where is the sample of your code? I seem to recall seing something like this file before and I know that code was suggested, so you should at least have the centering problem sorted out.
The new page (form feed) character is \f. So print "\f"; generates a new page on STDOUT.
Putting page numbers at the top or bottom of each page seems trivial to me. From the answers to your previous question you already know how to center stuff. You do know that print "Page: $pageNum\n" gets the contents of $pageNum interpolated into the string and thus printed don't you?
Tell us where you are actually having trouble. Show us the code that doesn't do what you want and tell us, or show us with some sample output, what you expect. BTW, don't show us two complete pages of output where there are only 6 interesting lines. Show us the 6 interesting lines with elipsis (...) to indicate omited stuff. That way we can see what you are interested in much more easily. If we can run your sample code and get your sample output then you have asked a question worth a B+. If you show us what you would like and explain where your problem is too you get an A+.
In reply to Re: Formatting Text...Again
by GrandFather
in thread Formatting Text...Again
by lollipop7081
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |