Is that a typo, or is there really a space missing between "perl" and "-Tw"? Depending on which web server you're using, that missing space could explain why you aren't seeing anything (or could at least explain why you aren't running into the other problems with the script).