Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Running Perl in an Expect loop

by StoneLeopard (Novice)
on Dec 15, 2016 at 16:46 UTC ( [id://1177862]=note: print w/replies, xml ) Need Help??


in reply to Running Perl in an Expect loop

Thanks for all the comments!

After realizing the REPL problem, I switched over to a simple IPC::Open2 call instead of Expect. But, instead of trying to interact with the child line-by-line, now I'm sending the while file to the child Perl process, closing its input handle, and then reading back the results.

This does exactly what I needed.

Thanks

Pankaj

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found