in reply to Re: Redirecting output
in thread Redirecting output

And that just goes to show the value of checking open for errors...

open ... or die "couldn't open XYZ: $!";