open (OUTPUT, "C:\\configInfo.exe |") || die "Couldn't run configInfo.exe - $!\n": while () { # do stuff which each line of OUTPUT... }