Philipp Hasenfratz: import the package for perl

Beitrag lesen

Halihallo kelly

D:\Inetpub\CHEN\backup>perl -e "print qq(@INC)"
D:/Programme/Perl/lib D:/Programme/Perl/site/lib .

seems reasonable and correct.

n i used remove [package] command to remove the xml-dom package...n then installed it again.

the installation seems to be successful, too.

n when i
use XML::DOM;
it still cannot be found....shall i set path or set classpath to it like i work with java? if yes, how to set it?

No, @INC (in which elements|directories perl looks for the module)
is automatically read in and doesn't need to be set in any
environment variables.

So, everything looks good...

Have you ever tried to run your script on the command-line, can you
reproduce the same error-message there, too?

You still haven't shown us the exact error message (what you can do
by copying the whole output of the script to us; or by giving us the
message of the IIS error-log). Does IIS not find the script or does
perl not find the module (well, I suppose that you mean the module,
but I cannot be sure without any "core-error-message")?

Does any other script work on IIS? - Even by using modules (perhaps
you have a permission problem on some @INC directories)?

Have you restarted your computer, this solves many M$ problems ;-)

Viele Grüsse

Philipp

--
M$: Patches - don't.