Pick a new root tag for the combined XML file and print its start and end around the two existing outputs, which become unique sections under the new root tag.
For bonus points, refactor the resulting code to reduce duplication.
Improve your skills with Modern Perl: the free book.
In reply to Re: printing one output from multiple scripts.
by chromatic
in thread printing one output from multiple scripts.
by mipatel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |