in reply to Multi-Line Input

If you use readline in a list context, you can use ^Z/^D to terminate multiline input:

C:\test>perl -E"my $in = join'', <STDIN>; say $in" the quick brown fox jumps over the lazy dog ^Z the quick brown fox jumps over the lazy dog

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)