开发者

How can automate the input to a program with Perl?

开发者 https://www.devze.com 2023-04-08 02:56 出处:网络
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 CP

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

精彩评论

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

关注公众号