Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Use a perl variable on a command that prompts for input

by hippo (Vicar)
on Oct 24, 2013 at 09:01 UTC ( #1059417=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Use a perl variable on a command that prompts for input
in thread Use a perl variable on a command that prompts for input

Did you test it in the shell before embedding it in your perl script as suggested? If so, did it work there?

If you can pipe input at the shell prompt you can almost certainly do so in the perl script. Otherwise you'll probably have to resort to Expect or similar. Good luck.


Comment on Re^4: Use a perl variable on a command that prompts for input

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-29 22:20 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 (269 votes), past polls