jitendrasingh1386 has asked for the wisdom of the Perl Monks concerning the following question:

hello perl monks i want to run "instmodsh" command on linux then this command outputs - available options l to list q to quit So could you please help me that how can i pass that "l" or "q" to this instmodsh command using perl and then how can i transfer all this content into a file. as i tried system(instmodsh -l) but doesn't work bz this command asks for l after executing instmodsh. Thanks in advance.
  • Comment on how can i pass arguments to instmodsh command and transfer the content into a file

Replies are listed 'Best First'.
Re: how can i pass arguments to instmodsh command and transfer the content into a file
by Anonymous Monk on Jan 23, 2012 at 10:28 UTC
      Hi thanks for the information but I still want to know how can I automate commands like this. please reply