in reply to Trapping re 'debug'

How about piping STDERR to another script which strips out just the interesting part?

—John

Replies are listed 'Best First'.
Re^2: Trapping re 'debug'
by diotalevi (Canon) on Jan 27, 2003 at 07:02 UTC

    Yeah, I guess. That wasn't quite what I was looking for but it'd work. Any ideas on how to fiddle with the handle issue I raised?


    Seeking Green geeks in Minnesota

      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.