but the default print is never ever restored to stdout (i mean, as long as the program runs !)open STDOUT, ">$file" || die "Cannot open file $file : $!"; system "diff $old_file $file"; select(STDOUT); # Restore default print to STDOUT close(STDOUT);
In reply to stdout back to the normal ?? by iza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |