You could use a global variable (accessible from every place where you're potentially outputting the header) to keep track of whether it's already been printed:
unless ($header_printed) { $header_printed = print $IN->header; }
In reply to Re: Checking a header is printed already?
by almut
in thread Checking a header is printed already?
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |