| $pi =3.1415; print "Enter the radius of the circle? "; chomp($radius = $circ = 2*$pi*$radius; print "The circumference of a circle of radius $radius is $circ\n"; Can somebody help. I am using perl in windows xp. I have the stdin funciton (please see the above small program). The user should enter a value and press enter. But the problem is as I enter a value and press enter, the DOS windows closes. How do i make the DOS window stay open after I press the enter key. Thanks George 05-10-2007 |
Install Perl on Windows XP