in reply to How Do I Get Batch Input to Work in DOS?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How Do I Get Batch Input to Work in DOS?
by jmk2012 (Initiate) on Mar 01, 2012 at 20:05 UTC | |
by Riales (Hermit) on Mar 01, 2012 at 20:52 UTC |
In Section
Seekers of Perl Wisdom