Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: How to call a script interactively from perl

by McA (Priest)
on Oct 16, 2012 at 14:44 UTC ( #999346=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How to call a script interactively from perl
in thread How to call a script interactively from perl

Hi!

This sounds to me like your ThirdPartyScript handles the input from a console/terminal which is a little bit differnet than reading from STDIN. If this is the case then have a look at Expect.pm.

Best regards
McA


Comment on Re^5: How to call a script interactively from perl
Re^6: How to call a script interactively from perl
by LetMeAsk (Initiate) on Oct 16, 2012 at 16:26 UTC
    Thanks i read about Expect.pm and looks like it can help but do you think there is nay other solution to this (within Perl)? as i do not have Expect.pm installed on my production systems.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999346]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-12-27 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls