Hi Luis, That's a really good question!
PDL's "requirements" (when you say e.g. cpanm PDL) are hard requirements for PDL to run: largely File::Map and File::Which. CPAN has a mechanism to "recommend" other modules, including Term::ReadKey. It has done so for a long time. cpanm can be told to install recommended modules. The demos will be sparse until you install things that have demos. Those have sat with their demonstrated things since 2022, with 2.077. You can show off some of the demos by looking at them on the PDL website. You can find all known PDL demos using MetaCPAN: https://metacpan.org/search?size=500&q=pdl%3A%3Ademos One reason I deleted the DEPENDENCIES file was that it was so out of date, because it wasn't maintained. All of the available things that depend on PDL (and therefore are probably what you mean by "subsystems" can be found on MetaCPAN: https://metacpan.org/dist/PDL/requires?size=500 - they each have their dependencies expressed in their metadata, which is visible on the left-hand side of their pages on MetaCPAN (with the exception of PDL::GSL, but I'm hoping users can figure that one out), and PDL::LinearAlgebra. PDL::Modules/Index are indeed for the most part listing things that are in "main" PDL. It would be a bad idea to try to make that list the whole PDL-verse, and instead one should use MetaCPAN as shown. In particular, it's hard to know what to "suggest" in the terms you say - in order to achieve what? Best regards, Ed ________________________________ From: Luis Mochan <moc...@icf.unam.mx> Sent: 20 January 2025 23:30 To: perldl <pdl-gene...@lists.sourceforge.net>; perldl <pdl-devel@lists.sourceforge.net> Subject: [Pdl-devel] pdl scripts Hello, I started teaching about PDL to some students. The first step is building PDL. When I install PDL in my account in my old laptop, everything runs smoothly, but in order to be illustrative I made a new account for myself and built it there under a perlbrew installation. It was nice that the process went quite smoothly for myself, and also for the students after installing some missing libraries. However, the pdl script failed. Apparently, Term::ReadKey is required but was not installed automatically. I guess it has to be added as a dependency to Makefile.PL, but I'm not sure. Then, the list of demos was short. Running demo from my previous full installation I found a list of dependencies and after installing them, more demos appeared. In the old days there was a DEPENDENCIES or DEPENDENCY file listing all that was needed for the automatic installation of the many PDL subsystems. However, that file is gone. So my question is, how can a user/installer know what are the suggested subsystems to install and what are their dependencies? At least, what are the PDL subsystems that have a demo? There is PDL::Index and PDL::Modules, but it seems they list what is already installed, not what is available. Best 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
_______________________________________________ pdl-devel mailing list pdl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-devel