in reply to Re^2: Numeric values required in Unix::Syslog?
in thread Numeric values required in Unix::Syslog?

use Unix::Syslog qw( :macros )

Also, you might want to read how Exporter works

Replies are listed 'Best First'.
Re^4: Numeric values required in Unix::Syslog?
by spoovy (Initiate) on Jan 21, 2015 at 10:00 UTC
    Thanks that was it, I didn't include :macros as I thought I didn't need it. Silly me. Thanks for your help though and I will read about Exporter as you suggest.