Hello Great Monks,
I'm sure this is very easy, but is there a way to capture multi-line input? I have this script. When I press <ENTER> key, it accepts the input. I'm thinking that if I want a multi-line input, then I should change the input terminator into something else... Any ideas?
#!/usr/bin/perl
use strict;
use warnings;
print "Enter your guess: ";
my $input = <STDIN>;
chomp $input;
print "$input\n";