Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 rifling through the Monastery: (10)
As of 2015-08-30 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (349 votes), past polls