in reply to Re^3: exec, system, or backticks
in thread exec, system, or backticks

What I mean by evaluate is this, the output from the Expect script is sent to a file where the sub ck_results opens the file and checks to determine if the necessary information was collected or not and then closes the file. For example, the Expect asks the other box/server to provide it specific register information so that anaylsis of this information can be done.

Replies are listed 'Best First'.
Re^5: exec, system, or backticks
by kalle (Friar) on Oct 20, 2004 at 18:00 UTC
    To capture the output, just do:
    my $output = `$swbt_dms $item`;