Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use warnings; print "Enter your guess: "; my $input = <STDIN>; chomp $input; print "$input\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multi-Line Input
by ssandv (Hermit) on Sep 23, 2009 at 00:25 UTC | |
by johngg (Canon) on Sep 23, 2009 at 22:02 UTC | |
|
Re: Multi-Line Input
by BrowserUk (Patriarch) on Sep 23, 2009 at 01:17 UTC | |
|
Re: Multi-Line Input
by Anonymous Monk on Sep 23, 2009 at 00:25 UTC | |
|
Re: Multi-Line Input
by Anonymous Monk on Sep 23, 2009 at 00:26 UTC | |
|
Re: Multi-Line Input
by Anonymous Monk on Sep 23, 2009 at 11:00 UTC | |
|
Re: Multi-Line Input
by bichonfrise74 (Vicar) on Sep 23, 2009 at 22:11 UTC |