develooper Front page | perl.beginners | Postings from February 2002

Printing Headers

Thread Next
February 26, 2002 14:51
Printing Headers
Message ID:
I am using format to print to multiple files using a 
while loop and the body writes out to each file fine, 
however the header will not write to the top of each 
file.  The first file is fine then it will skip a few 
and write to another, but not at the top, somewhere in 
the middle and so on until the loop finishes.  How can I 
force the header to print at the top of each file just 
like the body does?

Thanks for your help

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About