Hi Sacha-

I've opened a feature request ticket at our sf.net tracker at

  
http://sourceforge.net/tracker/index.php?func=detail&aid=3074830&group_id=612&atid=350612

and I've implemented a simple off-line NiceSlice pre-processor
that you can run manually on the problem files (with PDL::NiceSlice
constructs in them) to remove the requirement for source filtering.

That should allow you to fix the *.pm files so that perlapp
can work (I hope).  See the above ticket for the list of
files that I found in the PDL tree that need to be filtered.

Happy PDL-ing,
Chris

On 9/23/2010 9:00 AM, Sacha Fouchard wrote:
>
> This is my problem that could be interesting for many of you.
>
> When I try to use PDL in a prog source and create an executable with
> Activestate perlapp, I 've got the following error after compilation, at
> run time (The exe is correctly created).
>
> When I launch the prog, it says:
>
> syntax error at /<C:\prog.exe>PDL/MatrixOps.pm line 444, near "0:"
> syntax error at /<C:\prog.exe>PDL/MatrixOps.pm line 449, near "1:"
> syntax error at /<C:\prog.exe>PDL/MatrixOps.pm line 450, near "0:"
> syntax error at /<C:\prog.exe>PDL/MatrixOps.pm line 827, near "2:"
>
> For example, line 443 in MatrixOps.pm is :
> determinant( $a->(0:$i-1,1:-1)->append( $a->($i+1:-1,1:-1 ) ) );
> The pb seems to come from niceslicing syntax.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to