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

In reply to XML::Simple and use lib by BioHazard

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.