Integration with perlbrew

Hello,

I switch perl interpreters using perlbrew, sometimes my projects and installed perls are not aligned, so I get a lot of errors and warnings when executing perlcheckmate.pl

I have made a few minor changes by adding a few environment variables for detecting an active perlbrew and it's selected interpreter. Based on this a commandline is constructed which does not point to to the system perl solely and the active perlbrew is respected.

Let me know if you find it useful or if you want me to do some more work. For now it works for me.

jonasbn

My notes are collected here: https://logiclab.jira.com/wiki/display/OPEN/Textmate