sub myprint { print @_; # Send to standard output. print FILE @_; # Also send to another filehandle. }