|
|
| Just another Perl shrine | |
| PerlMonks |
Getting PERL to snarf STDERRby toku (Novice) |
| on Mar 01, 2002 at 19:52 UTC ( #148667=perlquestion: print w/ replies, xml ) | Need Help?? |
|
toku has asked for the
wisdom of the Perl Monks concerning the following question:
I want to run a program and collect STDOUT from it like this:
$a = `some_obsure_and_eclectic_command`; My problem is that this command also spits out data on STDERR. I want to redirect STDERR to /dev/null or something simalar. Any thoughts?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||