Posted on 2009-06-05 18:46:34-07 by sspitz01
Expect with large exp_before responces
I have a program that telnets into a notstandard server and dumps a file to the screen. these files are anywhere from 10,000 lines to 500,000 lines. I then call $response=$command->exp_before(); and print that variable to a file. I am having Random issues with the exp_before dropping lines and merging lines together. I just loaded expect 1.21 and I am still experiencing the problem. I am on a HP UX server. I have tried to set raw but no luck. thanks in advance for you help.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.