in reply to I am unable to execute series of command through IPC::Cmd

In other words, you want to run an sh script. Try

run( command => "/bin/sh <<EOC cd /home/john/test pwd EOC ", verbose => 0);
Or something like it.

Replies are listed 'Best First'.
Re^2: I am unable to execute series of command through IPC::Cmd
by veeruch (Sexton) on Dec 14, 2006 at 15:44 UTC
    Thank YOU somuch Joost,

    your code helped me a lot and it solved many of our problems.
    Once again Thanks a lot.