On 12/24/07, Alma <[EMAIL PROTECTED]> wrote: > Hi All, > > I have got an application which is not a GUI developed in C. I need to > enter the data from notepad and enter in the place which prompt me for > the correct data. I am storing in the order in which its prompting. > can any one provide me the guidence of how to go about. can it be > acheived using perl. > > Thanks
The program (porabably) reads data from STDIN (standard input). Windows and Unix allow you to "pipe" a textfile to STDIN so that when the program tries to read from STDIN, it will get the contents of the file. Usage: say I got a program called program.pl and an input file called input.txt, both in the same directory. To pipe, execute the program as follows: program.pl < input.txt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/