Many thanks, David!
That's it, now it is obvious of course!
It seems that the following structure works at least for a simple test
package:
---------------------------------------------------------------------------------------
packace MyPack;
use Moose;
# Define attributes (PDL not generally, ever?, needed)
has 'foo' ....
....
no Moose;
use PDL;
# Define methods (where PDL is needed)
sub doit {
.....
1;
-----------------------------------------------------------------------------------------
Cheers,
Kaj
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl