my $ofh = *STDOUT; $ofh->print("test 1\n"); #### my $ofh = \*STDOUT; $ofh->print("test 2\n"); #### STDOUT->print("test 3\n");