How do I include a Perl module that's in a different directory?

后端 未结 6 2419
天涯浪人
天涯浪人 2020-12-07 16:32

How do I include a Perl module that\'s in a different directory? It needs to be a relative path from the module that\'s including it.

I\'ve tried

p         


        
6条回答
  •  执念已碎
    2020-12-07 16:59

    I'll tell you how it can be done in eclipse. My dev system - Windows 64bit, Eclipse Luna, Perlipse plugin for eclipse, Strawberry pearl installer. I use perl.exe as my interpreter.

    Eclipse > create new perl project > right click project > build path > configure build path > libraries tab > add external source folder > go to the folder where all your perl modules are installed > ok > ok. Done !

提交回复
热议问题