If ou want to go back in a known field...use FileHandle; $fh=FileHandle->new(">blarg")or die "error on fh creation"; local *TOTO=$fh; open(STDOUT, ">&TOTO") or die "Argh: $!"; print "foo bar\nbaz\n"; close(TOTO);
In reply to (using local typeglob) Re: Redirecting STDOUT to a FileHandle ?
by arhuman
in thread Redirecting STDOUT to a FileHandle ?
by chb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |