Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Confused by @INC

Help
2007-08-10
2013-05-20
  • Johan Vromans
    Johan Vromans
    2007-08-10

    I have the following project:

      Jukebox
        lib
          ...modules...
        script
          prog.pl

    Using preferences, I set the perl include path to

      /path/to/Jukebox/lib

    which is then turned into ${resource_loc:/Jukebox/lib}. The scripts can not find the modules, and perl @INC does not contain the desired library.

    When I set the include path to

      lib

    everything works fine.

    However, this is very confusing. What am I doing wrong?

    This is EPIC 'testing'.

     
    • Jan Ploski
      Jan Ploski
      2007-08-11

      You're not doing anything wrong, if the entered absolute path is turned into ${resource_loc:/Jukebox/lib} automatically, then it's a bug.

       
      • Johan Vromans
        Johan Vromans
        2007-08-11

        EPIC or Eclipse?

         
        • Jan Ploski
          Jan Ploski
          2007-08-11

          EPIC, most likely.

           
          • Johan Vromans
            Johan Vromans
            2007-08-11

            Okay, I'll file a bug report. Thanks