I am writing a small script which is invoking a program which needs a input from the user. The input is standard value but I do not know, how to do that.
ex: cat per-script
date;
getapdata;
print "End of program"
The getapdata program needs "1" as input. How to do that? I read about storing all inputs in file ex: apinput
cat apinput
1
perl-script apinput
But this does not work. I am new to perl and direction will
be a big help
regards
kirov