The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.07 - 2002-01-20

  • Got some good input from M. Darwin about how this tied FH behaved w/ GnuPG. There are a number of functions, e.g. 'fileno' that needed to be implemented for things like open3, etc. However, in this case, I really just needed to know the original FH that was tied. Unfortunately, perl does not give you access to the original tied object. So a work-around was created where you just pass a ref to a glob of your filehandle as a first arg to tie. Then all these special fns like 'fileno' can refer to the original filehandle.

Modules

Tie a filehandle to Syslog. If you Tie STDERR, then all STDERR errors are automatically caught, or you can debug by Carp'ing to STDERR, etc. (Good for CGI error logging.)