open DUP, ">&STDOUT"; print DUP "this goes to STDOUT, really\n"; close DUP;
In reply to Re: How do I do this: code$var=STDOUT; open(LOG,$var); print LOG;/code
by japhy
in thread How do I open another handle to STDOUT
by dmuz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |