Die if anything is written to STDERR?

Viewed 336

How can I force Perl script to die if anything is written to STDERR ?

Such action should be done instantly, when such output happen, or even before, to prevent that output...

2 Answers
Related