perldoc -f open and search for redirect...
in short using a un*x, but read the above mentioned part for the complete story:
open STDOUT, '>', "/dev/null"; open STDERR, '>&STDOUT';
regards,
tomte
In reply to Re: A Strange print() predicament.
by Tomte
in thread A Strange print() predicament.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |