Not quite sure what exactly you're looking for... but in your if statement, you will wind up printing everything to FIXFILE that doesn't meet the if condition. That may not be what you want.
I note that you also used $*=1; This is deprecated. I am wondering why you are setting the input record separator: $/ = "<DIVIDER>*</DIVIDER>"; That is almost certainly not doing what you want. You would be better off just using regexen to find <DIVIDER> and </DIVIDER>.
In reply to Re: Writing on different output files.
by spiritway
in thread Writing on different output files.
by inspirio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |