Returning a string from EXPECT SCRIPT
Hello All,
I have an expect script, which does SSH into an remote machine and executes a certain command. I capture the result of command using Expect and is available within script under $expect_out(buffer). My issue is that i am calling my expect script from another PERL script and i need to access the string stored in $expect_out(buffer) in my calling PERL SCRIPTING FOR SOME PROCESSING, please suggest if it possible.
Thanks in advance for your suggestions
Regards,
Nitesh Bansal