in reply to Re^2: Trapping re 'debug'
in thread Trapping re 'debug'
Well, if tying or otherwise redirecting the handle from within the script doesn't work, the next logical step is to redirect the file on the OS level and before the script starts. That is, do it in the shell when perl is launched.