in reply to Perl and syslog
The easy way to do this with what you have is:
my @msgs = ( "======== Start =========", $stuff, $morestuff, "======== End ==========" ); openlog( 'status', 'ndelay', 'daemon' ); map { syslog( 'warning', '%s', $_ ) } @msgs; closelog();
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl and syslog
by kloud (Initiate) on Sep 18, 2001 at 17:52 UTC |