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

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

by hippo (Chaplain)
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 meditating upon the Monastery: (6)
As of 2014-04-20 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls