Perl gurus Perl Modules question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rip
    Confirmed User
    • Jan 2001
    • 1456

    #1

    Perl gurus Perl Modules question

    I am making a script, and while everything works okay on my desktop system, when I install the working script to the server and chmod it, I get a 500 configuration error

    I think it is the user call to the modules (causing the problem)

    I am pretty sure that they (the modules) are on the server as other scripts on the webserver use them (I think)

    anyway here they are;

    [#!/usr/bin/perl
    use LWP::UserAgent;
    use HTML::LinkExtor;
    use URI::URL;]

    Maybe I am missing something?
    ...
  • benthompson
    Confirmed User
    • Mar 2002
    • 553

    #2
    you think or you are sure?

    even if one of the modules are not installed then it doesn't work...

    run the script from the shell instead of the browser...


    it will tell you what is missing
    No signature.. I am bored of the signatures aswell..

    Comment

    • Babaganoosh
      ♥♥♥ Likes Hugs ♥♥♥
      • Nov 2001
      • 15841

      #3
      You sure it's those lines causing the problems?

      I always use

      use CGI::Carp qw(fatalsToBrowser);

      That way, most errors will fatal to the browser window.
      I like pie.

      Comment

      • RK
        Confirmed User
        • Aug 2001
        • 868

        #4
        Two suggestions:
        1) Look in the error log(s)
        2) Verify that the modules are really there
        Does anyone look down here?

        Comment

        • Amputate Your Head
          There can be only one
          • Aug 2001
          • 39075

          #5
          just check your httpd.conf to see what is loading and what is not. If you're missing something,... load it.
          SIG TOO BIG

          Comment

          Working...