in reply to Installing Perl on Windows XP
Try running this from a command line rather than the editor. The diamond operator is shorthand for standard input which your editor may treat differently. Your script is fine although you should get into the habit of adding "use strict;" to enforce various checking routines.
In Section
Seekers of Perl Wisdom