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. Please let me know if that works for you or not. Regards, Ahmad <azawawi> On Sat, Jun 5, 2010 at 12:23 PM, Richard Hainsworth <rich...@rusrating.ru>wrote: > Just installed latest Padre. > > To test, I used a program that I tested and runs without Padre. > > Program uses modules. Program runs out of Padre, but syntax checking does > not work. > > Minimal test case. > > In file mymod.pm, which must be stored in ~/.perl6/lib > <start file> > module mymod; > > sub foo() is export { say 'hi' } > <end file> > > In file test.p6 > <start file> > use v6; > use mymod; > foo(); > <end file> > > Running test.p6 in Padre generates the output: 'hi' > > The syntax checking stops at 'use mymod;' line. > > What needs to be changed for STD.pm to recognise the modules? > > Richard <finanalyst> > >
_______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev