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
|
|---|