Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The book says if I press control+b (unix) or control+z (windows, which I'm using), that this should end the keyboard entry and move on to the next line of code. But it doesn't, no matter how many times I press ctrl+z ... or any other combination for that fact. Please help!!!#!perl #use warnings; use 5.010; chomp(@array = <STDIN>); print "It worked!!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newbie and <STDIN>
by ikegami (Patriarch) on Jan 10, 2009 at 05:19 UTC | |
|
Re: newbie and <STDIN>
by syphilis (Archbishop) on Jan 10, 2009 at 05:04 UTC | |
|
Re: newbie and <STDIN>
by davido (Cardinal) on Jan 10, 2009 at 06:35 UTC | |
|
Re: newbie and <STDIN>
by neutron (Sexton) on Jan 10, 2009 at 14:14 UTC |