The perl code is calling the "sleep" command (ie command line program). I'm guessing WinXP doesn't have a program with that name.
On my Slackware box though I get a message that says the argument is invalid because sleep(man 1) requires an integer number of seconds or minutes or hours or days.
Changing the sleep command on line 121 from:
lets the program run but it runs at one frame per second.
Kind of reminds me of the old FreeBSD console screen saver.