Think about Loose Coupling | |
PerlMonks |
I am unable to execute series of command through IPC::Cmdby veeruch (Sexton) |
on Dec 14, 2006 at 15:08 UTC ( [id://589838]=perlquestion: print w/replies, xml ) | Need Help?? |
veeruch has asked for the wisdom of the Perl Monks concerning the following question:
Hi perlmonks, Is there any module to hold the command line session inside localhost. I am using IPC::Cmd, but unable to hold the previous session. Example: While executing the above code, the second line returns '/home/john' instead of '/home/john/test'. Because, test folder is present in '/home/john'. Chain of commands in a single run is working but I need to run one after the other based on the output of the first run. Is there anyother way or Module to handle the above situation Please help me on this
Back to
Seekers of Perl Wisdom
|
|