in reply to printing and mailing
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.
|
|---|