You can use chdir () change the working directory.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sue-fang
Hsu
Sent: Wednesday, August 20, 2003 11:36 AM
To: [EMAIL PROTECTED]
Subject: win2000 path question


Question: how to reference a perl file on win2000 server?


I have a library file called win.lib, and on the win2000 server under
this 
path:
/inetpub/wwwroot/webdir/cgi-bin/win.lib

On each perl file, referancing this library file, I need to put this
line on 
the perl file:

do '/inetpub/wwwroot/webdir/cgi-bin/win.lib';

Can I short this line to something like /cgi-bin/win.lib;? Where should
I change (on server setting or my code) to make it works?

I tried the virtual mapping call /cgi-bin, it did not work.

Thanks!
Sue

_________________________________________________________________
<b>MSN 8:</b> Get 6 months for $9.95/month. 
http://join.msn.com/?page=dept/dialup

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to