program feed usage question
Andrey Elperin
mizzy at x-telecom.net
Tue Sep 11 08:39:53 UTC 2001
Hello,
Maybe it's a stupid question, but... I'll try to pass articles to external
program using program feed. I have such entries in my newsfeeds file :
cc!\
:!*\
:Tp:/usr/local/bin/filter.pl
cc\
:!*,\
some_newsgroup,\
..............................................\
:Tm:cc!
filter.pl is a perl script, in which I trying to read from STDIN using
such construction :
while (<STDIN>) {
<do_something>
}
But I don't receive any line from STDIN in my perl script. Is that a normal
behavior of a program feed or there are may be some problems in my
newsfeeds/script ?
Thanks in advance.
P.S. INN 2.3.1, perl 5.6.1
--
Andrey Elperin
More information about the inn-workers
mailing list