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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|