open (REPORT,">$filename") || die "error"; select(REPORT); ... $^ = "NEWPAGE"; ... foreach [outer loop] $~ = "FIRST_FORMAT"; write; foreach [inner loop] $~ = "SECOND_FORMAT"; write; [end inner loop] [end outer loop] close (REPORT) || die ...
In reply to Re: Using multliple formats when writing to a file
by GotToBTru
in thread Using multliple formats when writing to a file
by rlemert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |