P
pop
Hi folks,
I have a certain output that I display on the terminal at the command
line and the user should make the choice and I send that output to
another perl file or throw an error and await output again
ex
1. file _one
2. file_two
pleae enter your choice : #@$$
Invalid entry
Please enter your choice : 1
<OUTPUT>
Iam trying to figure out the part from capturing the input and waiting
on the terminal for him to hit any choice. Can you guys give me a
pointer on what function is used here to wait. I know I can use argv to
capture the output.
How can I print the line "Please enter the choice " and wait for him
to enter any choice.
cheers
pop
I have a certain output that I display on the terminal at the command
line and the user should make the choice and I send that output to
another perl file or throw an error and await output again
ex
1. file _one
2. file_two
pleae enter your choice : #@$$
Invalid entry
Please enter your choice : 1
<OUTPUT>
Iam trying to figure out the part from capturing the input and waiting
on the terminal for him to hit any choice. Can you guys give me a
pointer on what function is used here to wait. I know I can use argv to
capture the output.
How can I print the line "Please enter the choice " and wait for him
to enter any choice.
cheers
pop