Mahoota has asked for the wisdom of the Perl Monks concerning the following question:
I now need a second program that will run this program (>perl progname), then enter the filenames when prompted at the command line.
I can't seem to get open() to do this, and dont know if there is a way of editing the first program to read in filenames directly from the executable line (>perl progname filename) (then I could simply use system() in the second program..
Any ideas greatfully recieved.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing to command line when prompted
by Aristotle (Chancellor) on Jun 28, 2002 at 15:15 UTC | |
|
Re: Writing to command line when prompted
by sschneid (Deacon) on Jun 28, 2002 at 14:42 UTC | |
|
Re: Writing to command line when prompted
by robobunny (Friar) on Jun 28, 2002 at 14:40 UTC | |
|
Re: Writing to command line when prompted
by amphiplex (Monk) on Jun 28, 2002 at 14:42 UTC | |
by amphiplex (Monk) on Jun 28, 2002 at 14:58 UTC |