http://www.perlmonks.org?node_id=657858


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.