carpout \*fh
fh
Sends error messages to the filehandle fh. You should provide a reference to the filehandle glob, although you can also just use the filehandle's name for this function.
Copyright © 2001 O'Reilly & Associates. All rights reserved.