in reply to Configuration of Sambar server to use Perl

Thus said the Sambar docs:

Using Perl

When the Sambar Server executes a Perl CGI application (*.pl files found in the CGI directory), the perl.exe executable found in the perl subdirectory of the Sambar Server installation is used.

So it appears that the #!C:\perl\bin\perl -w line is probably not pointing to the correct Perl-executable and therefore may break when it tries to use the CGI-module.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law