On Mon, 4 Feb 2002, Pfeiffer, Richard wrote:
> Trying to get STDERR to not print to the screen but rather to a file, or
> better yet, an array.
> Easy to do in UNIX (because I know how, of course):
> vcs -v >file.out 2>&1
>
> but how would I do it in Perl? I've tried a few variations of: p
al Message-
From: Pfeiffer, Richard [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 5:13 PM
To: '[EMAIL PROTECTED]'
Subject: STDERR to a file
Hello,
Trying to get STDERR to not print to the screen but rather to a file, or
better yet, an array.
Easy to do in UNIX (because I
Hello,
Trying to get STDERR to not print to the screen but rather to a file, or
better yet, an array.
Easy to do in UNIX (because I know how, of course):
vcs -v >file.out 2>&1
but how would I do it in Perl? I've tried a few variations of: print
... but seem
to keep hitting dead ends.