From: "Jay Hannah" <jhannah@omnihotels.com>
Message-ID: <
002001c49b5d$6d0d79c0$4722000a@omarests2>
p4raw-id: //depot/perl@23341
$! = 55;
syslog('info', 'problem was %m'); # %m == $! in syslog(3)
+ # Log to UDP port on $remotehost instead of logging locally
+ setlogsock('udp');
+ $Sys::Syslog::host = $remotehost;
+ openlog($program, 'ndelay', 'user');
+ syslog('info', 'something happened over here');
+
=head1 SEE ALSO
L<syslog(3)>