Ethen has asked for the wisdom of the Perl Monks concerning the following question:
I am new to Perl. I have tried installing Perl on my machine that is running on windows XP. I downloaded ActivePerl for Windows XP (WIndows MSI package) from ActiveState. Then I installed Perl Express (Editor). Both the downloads were successfull. Now when I try to write a small script and Run it, it shows the output of only that script in which I am not usng the "Diamond operator <>".......e.g
print "Enter one number: "; $a = <>; print "Enter another number: "; $b = <>; $c = $a + $b; print "$c";
Now When I run this......the output comes as.....
"Enter one number: "
When I try to enter some number, it do nothing........... Please assist......
Edit: g0n - code tags and formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing Perl on Windows XP
by inman (Curate) on Dec 19, 2007 at 11:57 UTC | |
by Ethen (Acolyte) on Dec 20, 2007 at 05:40 UTC | |
by GrandFather (Saint) on Dec 20, 2007 at 05:55 UTC | |
by Gavin (Archbishop) on Dec 20, 2007 at 11:51 UTC | |
|
Re: Installing Perl on Windows XP
by ww (Archbishop) on Dec 19, 2007 at 12:58 UTC |