perlmonkee has asked for the wisdom of the Perl Monks concerning the following question:
I asked a question earlier about forking an exe from perl.
I couldn't make it work with all the suggestions, but I found a nice perl module to do what I need called
Net::Syslog; it writes to a remote syslog daemon.
works well, but I need to do this $s->send('$somevar'); and that yields "$somevar" in the remote sysloguse Net:Syslog; my $s=new Net::Syslog(SyslogHost=>'1.2.3.4'); $s->send('see this is in the 1.2.3.4 syslog file');
The closer I think I am the farther away I get.
Thanks
janitored by ybiC: Balanced <code> tags around code examples, minor format tweaks for legibility
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: escaping output
by davorg (Chancellor) on Aug 12, 2004 at 15:06 UTC | |
by perlmonkee (Initiate) on Aug 12, 2004 at 15:29 UTC | |
|
Re: escaping output
by etcshadow (Priest) on Aug 12, 2004 at 16:24 UTC |