What does your error_log (or error.log) say?
If all permissions are sane, which they probably are on windows, you probably will be able to fix it by replacing:
#!/usr/bin/perl
with
#!perl
or
#!C:/perl/bin/perl.exe
...or where ever you installed ActivePerl. Do this for the first lines of captcha.pl and wakaba.pl.