in reply to Re: close_xs is not a valid Sys::Syslog macro (UtS,L)
in thread close_xs is not a valid Sys::Syslog macro

But, all test scripts work without errors in same system.
  • Comment on Re^2: close_xs is not a valid Sys::Syslog macro (UtS,L)

Replies are listed 'Best First'.
Re^3: close_xs is not a valid Sys::Syslog macro (UtS,L)
by Anonymous Monk on Sep 10, 2009 at 15:07 UTC
    I bet your test scripts do not define SIG{__DIE__}, and your production script does. I just a SIG{__DIE__} handler to an old script, and suddenly I started getting the close_xs error. I added "return if $^S;" to the top of my handler, and the issue went away. At least with Syslog.pm version 0.18, the close_xs call is made within an eval.