Binford has asked for the wisdom of the Perl Monks concerning the following question:
Since syslogd (5) says it should pipe to a command as STDIN, but it don't. I've tested script by:#!/usr/bin/perl -w while (<>) { open (LDAPOUT, ">>/home/code/writtenbyperllog"); print LDAPOUT $_; close LDAPOUT; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Outputting syslog to some perl code
by iburrell (Chaplain) on Nov 06, 2002 at 02:07 UTC | |
|
Re: Outputting syslog to some perl code
by sauoq (Abbot) on Nov 06, 2002 at 02:11 UTC | |
|
Re: Outputting syslog to some perl code
by graff (Chancellor) on Nov 06, 2002 at 04:07 UTC | |
by Binford (Sexton) on Nov 06, 2002 at 17:28 UTC |