Philipp Hasenfratz: import the package for perl

Beitrag lesen

Halihallo kelly

becoz i am not responsible for the server(IIS), I only program on my local pc, and copy it to the server, inetpub folder, and run it on the server....so is it that i should install that package on the server but not on my local pc?

You *must* install the packages you use exactly on *all* computers
where the script should work. Therefore you have to install XML::DOM
on the server (which is running IIS), too. Why should the server
know about XML::DOM if you just installed it on your client-computer?
Perl runs on the serverside and does only see files on the server-
side.

So, it seems that XML::DOM is not installed on the server,
therefore - if you cannot do it - ask your admin to install it.

i can see my folder in inetpub folder only, and cannot see other folders about the server on my pc.....so where directory on the server that i should install the packages to?

Huh... Don't even try this, it results in a horrible mess.
Ask the server's administrator to install the packages you need, this
is the proper way to do it.

read:
perldoc lib

you can use your own module-directory, but it works only with
pure-perl modules. XML::DOM is in pure-perl, but it's in dependency
to XML::Parser::Expat which uses C-Extensions. Well, these
extensions and the overlying XML::Parser::Expat Interface comes along
with most perl-distributions, so it's up to you to try. Still, the
proper way is to ask your admin.

Viele Grüsse

Philipp

--
M$: Patches - don't.