in reply to Re^2: Close STDOUT/STDERR temporarily
in thread Close STDOUT/STDERR temporarily

There are plenty of specific and working examples in this thread!

The confusion stems from demonstrating more than one way to do it within the same sample script (like 3 vs 2 argument open AND lexical filehandles vs bare words AND addressing filehandles as globrefs)

I have to admit that Perldocs are overly confusing in this respect.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)