in reply to Re: Using warn() when STDERR is closed
in thread Using warn() when STDERR is closed
Or more commonly, redirect at the shell:
perl -le 'open AA, ">test.txt"; warn "Hello"; print AA "foo\n";' 2> +/dev/null
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using warn() when STDERR is closed
by shawnhcorey (Friar) on Jul 16, 2010 at 15:29 UTC | |
by afoken (Chancellor) on Jul 17, 2010 at 09:49 UTC |