in reply to using IPC::Run

Why is that a suprise, after all @cat is undefined?
use strict; use warning;

Replies are listed 'Best First'.
Re^2: using IPC::Run
by perlseeker19 (Novice) on Jul 29, 2008 at 12:18 UTC

    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

      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