in reply to Re^2: print() on closed filehandle OUT at B.p line 19, <SH> line 1732.
in thread print() on closed filehandle OUT at B.p line 19, <SH> line 1732.

No way! There are error messages intended for developers, and there are error messages intended for users. IO errors are clearly the latter, and line numbers are meaningless to the user. If you need the line number to make this error message meaningful, you have a bad error message.
  • Comment on Re^3: print() on closed filehandle OUT at B.p line 19, <SH> line 1732.

Replies are listed 'Best First'.
Re^4: print() on closed filehandle OUT at B.p line 19, <SH> line 1732.
by lidden (Curate) on Feb 24, 2008 at 17:46 UTC
    Good point++

    But when I write code either STDERR goes to /var/log/apache/error_log or I am the user. YMMV.