MadHacker
MadHacker

Reputation: 608

Executing external programs in Perl

I am executing a few external programs from a Perl script and want to automatically handle prompts from that program. I know what the prompts are, they are not error conditions, and I want the script to handle them and not the user.

What's best practice for this?

Thanks

Upvotes: 5

Views: 184

Answers (1)

CanSpice
CanSpice

Reputation: 35798

My first stop would be the Expect module. I'm not sure if I'd need a second stop after that.

Upvotes: 11

Related Questions