Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
Replies are listed 'Best First'.
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 making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-07 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls