On 10/5/07, Niels Will <[EMAIL PROTECTED]> wrote:
snip
> On the first file, the REPORT_TOP format is beeing used but not on the
> second, third, and so on one.
snip

Perl formats are a pain, and probably should not be used.  Take a look
at the Perl6::Form module for a better solution.  The answer to your
question lies in how the format engine knows when to print a header.
It prints a header at the top of each "page".  A page is defined as $=
lines - the number of lines in the header.  The current countdown is
stored in $-.  So if you want to force the next call to write to print
a header just set $- to 0.  You can also search perldoc perlvar for
more variables that control the format engine.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to