in reply to Adapting Script for IIs (still)

This script worked like a charm on *nix but the client's IIs server just has a fit.

Three suggestions:

  1. A useful technique when asking for help with a problem like this is to first strip the code down to a small example that exhibits a failure. Quite often, you'll solve the problem yourself.
  2. In this case, consider carefully the code paths by which you set $pass.
  3. If all else fails, compare the version of CGI.pm that you've been using on *nix to the one you're using on Win32.