#!/usr/bin/perl -w use strict; sub multiprint { for (*FILE, *STDOUT) { print $_ @_; } } open FILE, '>tmp' or die; multiprint('test'); close FILE;
In reply to Re: Redirecting STDOUT and standard error to file
by eff_i_g
in thread Redirecting STDOUT and standard error to file
by ramya2005
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |