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

Reply via email to