print "Standard and Out\n"; close STDOUT; open (STDOUT, ">>over.txt") or die "Screaming $!"; print "Over and Out\n"; close STDOUT; open (STDOUT, ">>/dev/pts/0") or die "Can open console $!" #Ok so I cheated and used `who` to find this print "Aye Aye Capt'n\n";