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: print > <STDERR> ... but seem > to keep hitting dead ends.
Don't put it in brackets: print STDERR "error message\n"; perldoc -f print -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ Remember: Silly is a state of Mind, Stupid is a way of Life. -- Dave Butler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]