Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by McA (Curate)
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 chanting in the Monastery: (7)
As of 2014-08-21 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls