I'm not familiar with DOS, but I would think you need to actually print the contents of pl_input.txt to STDOUT before piping it into your program. This is how I would do it in bash:
$ cat pl_input.txt | myfile.pl
EDIT: Nevermind, I did some research and it looks like what you were doing should be fine. Maybe post your code/input file so we have some more to go on? What's happening that's unexpected?
In reply to Re: How Do I Get Batch Input to Work in DOS?
by Riales
in thread How Do I Get Batch Input to Work in DOS?
by jmk2012
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |