in reply to Problem with STDIN input
You will (should) be able to get more if you accept it as lines (where newlines come before the limit is reached) instead of a single string. Try this-
print "Enter text with returns. Press Control+D to submit-\n"; my @input = <STDIN>; print join("", @input);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with STDIN input
by Gyatso (Novice) on Jun 12, 2009 at 17:14 UTC |