On Wed, 20 Jun 2001, Conrad, Bill (ThomasTech) wrote:

>       I have tried redirecting the output to a file
>
>       perl perl-prog.pl >perl.log
>
>       but the compile error messages go to the console.

If you are using a Unix command-shell, if you want to redirect stderr to a
file, you need to do:

perl perl-prog.pl 2> perl.log

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Men have as exaggerated an idea of their rights as women have of their wrongs.
                -- E.W. Howe

Reply via email to