in reply to Control Characters in reports...
My problem is that in the final report, there is a "^L" at the beginning of each report.
Yup. That's a "Form feed" - you get 'em for free with write. According to Programming Perl (2nd Ed),
Top-of-form processing is handled automatically: if there is insufficient room on the current page for the formatted record, the page is advanced by writing a form feed,
When you set $- to zero, you're forcing a new "page", and hence ^L, on every write. Tinkering with that and $= ought to let you get rid of the ^L problem.
Peace,
-McD
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Control Characters in reports...
by thor (Priest) on Feb 23, 2001 at 03:59 UTC | |
by thor (Priest) on Feb 23, 2001 at 21:36 UTC |