Arijit Das wrote: > In Perl, after closing STDOUT, how can I reopen it? > > print "Writing to STDOUT before closing STDOUT..."; > close STDOUT; > > open STDOUT, ...<how to?> > print "Writing back to STDOUT...";
You'll see how to save the previous FH and open a new one by reading the open function man page or 'perldoc -f open'. _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs