open STDERR, ">&STDOUT" #### # doesnt work ... "&STDOUT" = "&STDERR" # Assign STDOUT to STDERR open STDERR, ">&STDOUT" # Open STDERR open STDOUT, ">o.txt" # Print something to STDERR warn "hi" # run a subprocess which output to STDOUT system "pgp -h" # Print something to STDOUT print "ho!\n" # Now ole'! it's all in the same file!