Well, I can't help you any further anyway now
It works for me, and I don't see a reason why the exact same setup would not be working for you if you invoke http://<kindle>/cgi-bin/test.pl. Note that the output is an empty (blank) page, so you should check the source code...