Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-12-10 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.