If you open multiple filehandles and add everything to one big string, it's easy to write a loop. The other suggestions depend on being able to install stuff locally or having Unix commands available.
The IO::Tee module on the CPAN is another solution.
In reply to Re: printing and mailing
by chromatic
in thread printing and mailing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |