in reply to Input problem with Enter key...
in thread Input problem with Enter key...
I changed what you indicated and dropped the parenthisis. But when i "run" the script, it still moves to the next line and waits for more input until i hit ^c to exith the interpeter, to which it prints the "input" when exiting. Do i need to change a $| or something, it still is doing the same thing.
print "Something: "; my $Input = <STDIN>; print "You Typed ", $Input;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Input problem with Enter key...
by davido (Cardinal) on Nov 07, 2016 at 02:00 UTC | |
by PriNet (Monk) on Nov 07, 2016 at 02:06 UTC | |
|
Input problem with Enter key...
by kcott (Archbishop) on Nov 07, 2016 at 02:02 UTC | |
by PriNet (Monk) on Nov 07, 2016 at 02:11 UTC | |
by Marshall (Canon) on Nov 07, 2016 at 02:37 UTC | |
by PriNet (Monk) on Nov 07, 2016 at 02:45 UTC | |
by PriNet (Monk) on Nov 07, 2016 at 03:14 UTC | |
by ww (Archbishop) on Nov 07, 2016 at 12:18 UTC |