On Mon, May 09, 2005 at 07:48:09AM -0700, Palit, Nilanjan wrote: > I want to redirect print output to both stdout & a file at the same > time: I can think of writing a sub that executes 2 print statements (one > each to stdout & the filehandle), but I was hoping someone has a more > elegant solution.
Your solution is basically correct. The devil, however, is always in the details and IO::Tee should take care of those for you. -Gyepi _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm