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.In reply to Re: Numeric values required in Unix::Syslog?
by Anonymous Monk
in thread Numeric values required in Unix::Syslog?
by spoovy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |