in reply to Re: using IPC::Run
in thread using IPC::Run

so what should i be doing?? with @cat now, can you just brief on the purpose of @cat here in the code.

like i have used @cat =qw(Edit);

since i am using activeperl.(running scripts using command prompt).

while running i get the error "process ended prematurely" pointing the line containing "pump" after the first input

Replies are listed 'Best First'.
Re^3: using IPC::Run
by Corion (Patriarch) on Jul 29, 2008 at 12:23 UTC

    Well, why should we know what @cat is supposed to contain? You wrote the program, so you have to tell us what it should do. Maybe consider re-reading IPC::Run?

    What do you think @cat = qw(Edit) is doing? What purpose does that have?

      to my knowledge i suppose it would store the list of inputs given.jus now saw this package and tried some implementations