sending output to file and terminal



Hi all,

I have written a perl script that prints the output to the terminal. I
also want to write the output to a file. So, what I have done is write the
output to a file and then print the file. I was just wondering if there any
way to write to both - terminal and file at the same time?

With regards,
laddu