perl foo.pl 1>1 2>2 perl foo.pl >file 2>&1 [download]
In reply to Re: Redirect STDOUT to textfile? by Anonymous Monk in thread Redirect STDOUT to textfile? by perlpreben