In case you need the output from getpdata, use backticks or the "qx" function.system "echo 1 | getapdata";
There are other, more complex options, including "open2".
Earth first! (We'll rob the other planets later)
In reply to Re: How to give input to a program which is inside perl script
by NetWallah
in thread How to give input to a program which is inside perl script
by kirov60
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |