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.