As expected, I printed the "\n" along with $cmd. However, none of the methods you suggested has worked for me :( I guess I will try installing the Expect module and figure out a way to do this.
Thanks a lot for your help!
In reply to Re^8: Executing command from perl script with input/output
by linuxfan
in thread Executing command from perl script with input/output
by linuxfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |