syslog
syslogpriority,mask,format,args
- If priority and mask permit, logs message formed as if by
sprintf(format, args), with the addition that%mis replaced with the current error message from$!.
syslogpriority,mask,format,args
sprintf(format, args), with the addition that %m is replaced with the current error message from $!.