On Sun, Jun 6, 2010 at 7:07 AM, Ahmad Zawawi <ahmad.zaw...@gmail.com> wrote:

> Hi Richard,
>
> I forgot to CC the list the first time I sent you the email. Sorry for any
> inconvenience :)
>
> You need to define an environment variable PERL6LIB that has your Perl 6
> library directories separated by UNIX-style path delimiters ':' . That is
> needed since Padre Perl 6 syntax checker  task works on a temp copy of your
> file.
>

Hmm... I run into this problem with Perl5 development in Padre and wonder if
it's the same problem. In my case, I develop lots of problem-specific
modules and wouldn't want them in a general-purpose, user-specific location.
If I wanted that, I could simply use local::lib. I believe that if Padre
used the flag -Mpath/to/file for the syntax checker it would solve the
problem. If the syntax checker runs in the same process as Padre itself,
then perhaps the syntax checker could mess around with the @INC list.

I would contribute some effort to getting this fixed but I don't know where
to start, so please post your progress to the list (or keep me posted :).

David

-- 
Sent via my carrier pigeon.
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to