in reply to Numeric values required in Unix::Syslog?
It seems it want a numeric value, but is there a numeric value for LOG_PID?man 3 syslog
It's a constant in syslog.h
Get rid of use constant. And get rid of @{[ LOGPID ]} - what is that for anyway? Constants should be bitwise or-ed. Like this: LOG_PID | LOG_CONS | LOG_WHATEVER. Those should be constants exported by Unix::Syslog, not your own.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Numeric values required in Unix::Syslog?
by spoovy (Initiate) on Jan 20, 2015 at 09:43 UTC | |
by Anonymous Monk on Jan 20, 2015 at 11:31 UTC | |
by spoovy (Initiate) on Jan 21, 2015 at 10:00 UTC |