Help for this page
use strict; use warnings; ... print CAT "This was written to cat with output redirected\n"; close(CAT); print "all done\n";
about to open cat in a sub-process This was written to cat without output redirected all done