On Wed, Mar 2, 2011 at 12:02 PM, Christian Henkel
<p...@henkelchristian.de> wrote:
> In my tutorial they told my to read strings from keyboard (@array = <STDIN>)
> and told my to press ctrl+Z for the file end. But pressing ctrl+Z doesn't do
> anything. Can someone tell my what I have to do to simulate the EOF? Ctrl+D
> works for ending the file, but the hole script crashes, too.

Ctrl+Z works for me in Windows (XP) from the Command Prompt
application. Initially pressing Ctrl+Z only adds the character to the
line (appearing as ^Z). If I then press enter then it is sent and
works. Perhaps the confusion is that the character isn't immediately
sent as it is in UNIX-like shells?


-- 
Brandon McCaig <http://www.bamccaig.com/> <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to