in reply to Win32 CGI breaks STDIN?

This is probably a stupid question, but why are you using CGI in that script? I don't see you actually use any of it's methods...

$code or die
Using perl at
The Spiders Web