but I'm buggered if I can find out how to do it properly. Clearly it is a matter of advancing senility, for which I apologize and beg your indulgence.$old_stdout = STDOUT; open STDOUT '> /dev/null'; $results = sub_with_logorrhea(); close STDOUT; open STDOUT $old_stdout;
In reply to Divert STDOUT temporarily by Xilman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |