PERL expect o/p
Could you please tell me how to get output of last command executed through expect(in PERL) so that i could analyse and process it for the next steps? What if the last command output if long?(multiline and multicolumn). Is it possible to redirect the o/p to a file and then process it?