Path when open from context menu

Path when open from context menu

2
NewbieNewbie
2

    Feb 22, 2005#1

    I have a perl file and included modules in the same directory, and my include path @INC includes the current directory. If I open the perl file using the 'open file' icon, perl finds my included module, but if I open the perl file using the right click context menu, I get a message that the included module could not be found in @INC. The tool is configured with "%f" as the file path. What's happening here ?

    12
    Basic UserBasic User
    12

      Feb 22, 2005#2

      Do you configure your tool with the good Working Directory : %P or %p

      You use %f but you can also use %n%e for the file PATH

      I suggest you to use %n%e file PATH name and %P Working directory.
      Regards from France
      Kenavo from Brittany

      2
      NewbieNewbie
      2

        Feb 23, 2005#3

        Thanks, %P works great