John11 has asked for the wisdom of the Perl Monks concerning the following question:
$radius = <STDIN>;
$circum = $radius * 2 * 3.14;
print "The circumference of the circle with the radius of $radius equals $circum\n";
It doesn't ask me for input and just kind of hangs.
Can I use <STDIN> in Komodo?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A Newcomer can't get the user input!
by Zaxo (Archbishop) on Jul 06, 2002 at 21:20 UTC | |
by Anonymous Monk on Jul 06, 2002 at 23:51 UTC | |
|
Re: A Newcomer can't get the user input!
by Mr. Muskrat (Canon) on Jul 07, 2002 at 00:16 UTC | |
|
Re: A Newcomer can't get the user input!
by perlkid (Novice) on Jul 07, 2002 at 00:59 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |