Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If I amdebugging a program that uses to interact with the user,in which windowdo I enter the text so that the program running in PerlWiz canread from the keyboard?

0
Posted

If I amdebugging a program that uses to interact with the user,in which windowdo I enter the text so that the program running in PerlWiz canread from the keyboard?

0

As illogical as it may seem (!), you type your information into the Text Output tab. As you type (in case you wish to type out something in response to a prompt). Your input appears as highlighted text after any output text. When you press the Enter key the highlighted text is sent to the Perl session as keyboard input (complete with the press of the Enter key – which is how it would work if you typed it directly into a console window). For a full explanation of how this works, see the tutorial on keyboard input. – Thanks to Jerry for this question, May 2003 N.B. If you are inputting into an array, then you will need to terminate input by pressing Ctrl+Z on the keyboard. This only works in 5.6 of ActivePerl – 5.8 ignores the key-combination.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123