I want to pipe the output of one program through a script, and then the
output of 
that script to another program - something like this (the script is a
filter):
        c:\program1 | perl_script | program2

Is this possible?  I have been unable to figure out how to read from STDIN
for
piped input (or redirected).  Or I'm invoking perl.exe incorrectly.  Can
anyone 
help?

BTW, I know that I can open STDIN just like any other file handle, but as I
said, I've been unsuccessful so if that's what I need to do, I must be doing
something wrong and am looking for some help.  A code snippet would be
great! :)

TIA,
Joe

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to