in reply to Numeric values required in Unix::Syslog?

Just a wild guess from reading the Unix::Syslog SYNOPSIS and EXAMPLES, but does this work for you?
use warnings; use strict; use Unix::Syslog qw(:macros :subs); # Open syslog channel openlog('my-program.pl', LOG_PID, 3);

Replies are listed 'Best First'.
Re^2: Numeric values required in Unix::Syslog?
by spoovy (Initiate) on Jan 20, 2015 at 09:29 UTC
    Yes I did read the SYNOPSIS and EXAMPLES. The reason that doesn't work for me is that barewords aren't allowed. Hence my wierd use of constants to try to get around it.