I didn't know (or had forgotten) about the pptemplate; I'll try it, thanks. I use Pdlpp expecting it to be simple, but then, making it installable is not so simple. I tried several semiautomatic approaches but they didn't quite work. I uploaded a copy of my last attempt to github,
https://github.com/wlmb/PDL-UpperSqrt It is a simple function to choose one of the two square roots of a number, by setting the branch cut just below the real axis instead of along the negative axis as done by the usual library-provided complex sqrt functions. Regards, Luis On Sat, Jan 11, 2025 at 03:46:26AM +0000, Ed . wrote: > Hi Luis, > > I had a go with Inline::Module and Inline::Pdlpp back in 2017 or so, but > eventually gave up as I feel a "proper" PDL::PP module is better. I still > think it would be valuable to a) get your situation working, and b) capture > how such a thing is done in the docs of Inline::Pdlpp. > > With a view to both those things, could you maybe put your current code on > GitHub? > > Also, have you had a try with pptemplate, a script installed with PDL, to > make a skeleton PDL::PP distribution? > > Best regards, > Ed > > ________________________________ > From: Luis Mochan <moc...@icf.unam.mx> > Sent: 11 January 2025 03:16 > To: perldl <pdl-gene...@lists.sourceforge.net>; perldl > <pdl-devel@lists.sourceforge.net> > Subject: [Pdl-devel] Pdlpp modules > > > Hi, > > I started experimenting with installing distributions that use > Inline::Pdlpp code and Inline::Module. Following a mixture of > instructions I found in the documentation of Inline::Module, > Inline::Module::Tutorial and Inline::Pdlpp I had success running under > Perl-5.36.0, i.e., I could use the installed module, but not under > Perl-5.40.0, where I got an error like > > Attempt to call undefined import method with arguments ("Pdlpp" ...) via > package "My::Package::Inline" > > Does anyone know what may be the relevant change between 5.36 and 5.40 > and how to overcome the error? > > Has anyone had success building pdl packages with Inline::Module under > 5.40? > > Regards, > Luis > > > > -- > > o > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > Av. Universidad s/n CP 62210 | (*)/\/ \ > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB > > > _______________________________________________ > pdl-devel mailing list > pdl-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdl-devel -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB _______________________________________________ pdl-devel mailing list pdl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-devel