2

I am a beginner in perl. How can I use Ctrl + D to indicate that I am done with sending the inputs? I am using Active Perl in Windows and not in Unix.

simbabque
  • 53,749
  • 8
  • 73
  • 136
daut
  • 49
  • 4

2 Answers2

7

If you are using Windows cmd.exe, try using Ctrl+Z instead of Ctrl+D to signal the end of file (EOF).

Source: http://code.activestate.com/lists/activeperl/7343/

bjhaid
  • 9,592
  • 2
  • 37
  • 47
erjiang
  • 44,417
  • 10
  • 64
  • 100
0

You can also use F6 function key to denote end of your inout in windows

Bobby
  • 268
  • 1
  • 7