From perldoc -f open:
open STDOUT, '>', "foo.out"
The docs are your friend.
In reply to Re: begginer help running perl script by vinoth.ree in thread begginer help running perl script by tstrobaugh