BioHazard has asked for the wisdom of the Perl Monks concerning the following question:
Hallo there,
I've got the following problem: I'm using XML::Simple on my local Win32 machine and it works fine. When I upload scripts using XML::Simple on my webserver which runs on Linux, I have to include XML::Simple by using use lib "/path/modulesfolder/"; Also this is working very well.
But when I call XMLin(args); in my scripts, an Internal Server Error occurs. I have printed an HTML Header and have used a debugged script. As I mentioned above, the same script works fine on my local webserver. Also the shebang line is correct in the "Linux-Script". I'm sorry I do not have access to my error log files (apache). Maybe I should change the provider... I even read throug the Simple.pm but couldn't find a thing, which might be problematic with linux. A friend of mine told me, these modules are platform independent.
Has anyone an Idea what the cause of the problem is? Thanks a lot and sorry about my English
But when I call XMLin(args); in my scripts, an Internal Server Error occurs. I have printed an HTML Header and have used a debugged script. As I mentioned above, the same script works fine on my local webserver. Also the shebang line is correct in the "Linux-Script". I'm sorry I do not have access to my error log files (apache). Maybe I should change the provider... I even read throug the Simple.pm but couldn't find a thing, which might be problematic with linux. A friend of mine told me, these modules are platform independent.
Has anyone an Idea what the cause of the problem is? Thanks a lot and sorry about my English
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::Simple and use lib
by krisahoch (Deacon) on Aug 16, 2002 at 18:33 UTC | |
by BioHazard (Pilgrim) on Aug 16, 2002 at 18:49 UTC | |
by krisahoch (Deacon) on Aug 16, 2002 at 19:26 UTC | |
by thraxil (Prior) on Aug 16, 2002 at 20:28 UTC | |
by BioHazard (Pilgrim) on Aug 17, 2002 at 11:16 UTC | |
by grantm (Parson) on Aug 20, 2002 at 10:39 UTC | |
Re: XML::Simple and use lib
by JupiterCrash (Monk) on Aug 16, 2002 at 19:04 UTC |
Back to
Seekers of Perl Wisdom