http://qs321.pair.com?node_id=179911


in reply to A Newcomer can't get the user input!

Perhaps what you thought wasn't quite what you thought, 
was it acually just waiting for an input for the $radius.
Have you entered a numeric value and then press Enter 
to see the print result?

#will wait for an input from the STDIN 
#which by default is the keyboard.
radius = <STDIN> 

-perlkid
  • Comment on Re: A Newcomer can't get the user input!