In syslog, if you have:
*.* | /pipe.pl
The output should be piped to pipe.pl - how, in perl, would you go about
capturing this output? I have tried everything I could think of. $1,
ARGV[#], STDIN, while (<>) (which apparently works on linux, I haven't
tried myself), a
On Tue, 19 Nov 2002 15:39:24 -0600 (CST)
Scott Pilz <[EMAIL PROTECTED]> wrote:
>
> In syslog, if you have:
>
> *.* | /pipe.pl
>
> The output should be piped to pipe.pl - how, in perl, would you go about
> capturing this output? I have tried everything I could think of. $
Scott Pilz wrote:
In syslog, if you have:
*.* | /pipe.pl
The output should be piped to pipe.pl - how, in perl, would you
go about
capturing this output? I have tried everything I could think of. $1,
ARGV[#], STDIN, while (<>)
while (<>) {
code
}
should work. It's not a linuxism.
here's
Tried that - but found the problem.
Picky picky picky :)... needed a "./pipe.pl".. I should have known
better. Guess I got used to /bins.
Thanks.
On Tue, 19 Nov 2002, paul beard wrote:
> Scott Pilz wrote:
>
> > In syslog, if you have:
> >
> > *.* | /pipe.pl