File manipulation starts with the open() command, so start by reading the documentation
perldoc -f open
and then search down for the words
Here is a script that saves, redirects, and restores "STDOUT" and "STDERR" using various methods:
In reply to Re: Redirect STDOUT to textfile?
by doug
in thread Redirect STDOUT to textfile?
by perlpreben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |