[TxMt] perl: adding module search paths

Gerd Knops gerti-textmate at bitart.com
Thu Oct 4 16:10:10 UTC 2007


On Oct 4, 2007, at 9:49 AM, Eric Buth wrote:

> hey all. so i am an eclipse user trying to switch over to textmate  
> for some perl development. usually i end up with project folders  
> that have their own modules (.pm files) within, and eclipse allows  
> me to specify the library folders to be part of the @INC path at  
> run time. this is great because it makes the whole project folder  
> portable, and i don't have to "install" developement modules on the  
> system in any of the usual locations.
>
> my issue is that the perl module "run script" command doesn't seem  
> to allow for any of this. what solutions do you all use to get  
> around this? please save me from eclipse. thx
> e

You can set the PERL5LIB environment variable via "Project  
Information" panel: Make sure no file is selected in the project  
drawer, then click the 'info' icon in the bottom of the project  
drawer. In the "Project Information" panel you can set project- 
specific environment variables.

Gerd




More information about the textmate mailing list