Testing on perl 5.6.1 and 5.8.0 $FORMAT_LINES_PER_PAGE defaults to 60, but $FORMAT_LINES_LEFT starts at 0. I would expect that it start a 60. When I specifically set $FORMAT_LINES_LEFT=60 once it hits zero it rolls around to 99999999 instead of resetting to 60.
My code contains nested loops and each loop sets the format and calls write. All output is to STDOUT.
What am I missing?
Thanks.