Stephen,

I have implemented the below logic from you, and it has at least shed alot 
of light on what my Apache webserver CGI environment "sees".  Although, I 
am fairly literate with DBI (specifically DBD::Sybase), unfortunately I'm 
not familiar enough with CGI to know "which" system variable is the culprit 
not allowing me to access Sybase, do a simple fetchrow, and display the 
resultset.  Your help has been greatly appreciated.

Everyone,
If anyone knows of a CGI mailing list, that would be great as I feel bad 
asking for help on the wrong mailing list.  Thanks for everyone's help.

v/r,
Jonathan

At 03:03 PM 5/16/02 -0700, Stephen Keller wrote:
>I've intermixed DBI.pm (connecting to DB2) and CGI.pm a lot, so
>I'm pretty sure there is no name conflict between the two.  One
>problem, I've run into frequently, however, is that the configuration
>of the account when running from the web server is sometimes
>deliberately limited.  One way that I debug this is to print
>out the runtime environment in the CGI.pm program and make sure
>that the right environment is there.  The following line of code
>prints the environment.
>
>         map ( printf ("%s: %s\n", $_, $ENV{$_)), sort keys %ENV );
>
>Try putting that before the attempt to connect in the CGI.pm program.

Reply via email to