Question : perl code in windows nt?

i trying to run perl code in windows nt with perl interpreter. i found that i have to give full path of a file if i want to 'require' a file. but not in linux.

Answer : perl code in windows nt?

try putting

testing::newsadmin::

in front of the name of the module you are trying to include. THe GetCwd() command suggests that the webserver thinks you aren;t in the directory you think you are.

e.g

use testing::newsadmin::myModule

an in answer to your last q. to you can set the NT path by:
right click on 'my computer', chooses properties, go to the 'environment' tab, find the 'path' entry in the list, click on it, amend it in the box, click set.

if you are running 98/95 you may have to add the line:

set path=%path%;mylovelypath

to the end of your autoexec.bat file, if you have one. there may be a more elegant way in win95/98 but i don;t know it as i generally write scripts which set the env variables depending on what language i;m using.

--billy
Random Solutions  
 
programming4us programming4us