Caveats:open( FOO, "> foo" ) or die( "End of foo is nigh : $!" ); select FOO; # Hang on, isn't 'select' for networking? call_legacy_code(); # Hehe, output goes to foo exit 0; sub legacy_code { # Heh...print to the screen print "I 0wn j000!\n"; }
In reply to Re: Redirecting STDOUT to a FileHandle ?
by jbert
in thread Redirecting STDOUT to a FileHandle ?
by chb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |