in reply to Re: Append Logic
in thread Append Logic

Thanks! The only thing I dont know how to do is actually execute each line of output as an individual command.

Replies are listed 'Best First'.
Re: Re: Re: Append Logic
by chromatic (Archbishop) on Jan 31, 2001 at 09:17 UTC
    You can use system, or open, or backticks, or qx//. Depending on what you want, perlfaq8 has a question entitled How can I capture STDERR from an external command? that has more information than you need to answer this question.

    The appropriate answer depends on many things. Do you want to capture the output? Do you want just the exit code? Do you want to pass extra commands while the program executes?