> > Can't locate STDLIB.pm in @INC (@INC contains: ../ C:/Perl/lib > > C:/Perl/site/lib .) at > D:\web\cgi-bin\scripts\admin\admin.pl line 35. > > BEGIN failed--compilation aborted at > D:\web\cgi-bin\scripts\admin\admin.pl > > line 35. > > > > If 'STDLIB.pm' is indeed located in 'D:\web\cgi-bin\scripts\' > (or in the > same folder as the script) then you probably need to find out > what perl > thinks is the cwd. It may be different to what you (and I) > expect. Can IIS > affect that ? ....... I dunno.
CGI scripts run on IIS usually end up with a working directory of c:\winnt\system32. Hard to believe MS could be so stupid, but little surprises me about them any more. There's a metabase setting you can tweak (something about spawning new consoles??), if I remember correctly, which will remedy the situation. It might even be documented somewhere in the MS Knowledge Base, or you could search Google Groups. I had to do it several years ago and it seemed to work. Otherwise, just add this to your script: use lib 'd:\known\path\to\your\CGIScript\'; and it should work. jpt _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs