开发者

How can automate the input to a program with Perl?

The program has these prompts:

Enter Username:
Enter Code:

How can I get Perl to input th开发者_如何转开发e proper text for each prompt?


Expect is the usual solution.


You can use expect. There's a CPAN module for it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜