in reply to Re^3: Perl Expect Command output
in thread Perl Expect Command output

Am looking for the same, could you elaborate your statement, which function you have used to get the output.