Menu

Including library path in @INC

Help
khiraly
2004-10-05
2013-05-20
  • khiraly

    khiraly - 2004-10-05

    Hi!

    I have a dinamic web page written in perl and set of packages.
    In the main perl script (index.pl) I include in the perl path the packages path:
    BEGIN {
            $configFile = "WebGUI.conf";
            $webguiRoot = "/home/lama/ejip/cgi-bin";
            unshift (@INC, $webguiRoot."/lib");
    }

    The page works in my webbrowser (and locally installed thttpd and apache), but in the editor all package are missing.
    Dont find the right path in the @INC. How can I set up my eclipse (or epic), to have the right @INC variables?
    At the moment is a quite unusable the warning message in my editor.

    Thank in advance!

    Best regards,
    Khiraly

    ps: sorry for my poor english

     
    • Jim Carter

      Jim Carter - 2004-12-10

      Sorry for terse instructions, CTS:

      Project Menu
           Properties
                Perl Include Path
                     Add

       

Log in to post a comment.

MongoDB Logo MongoDB