Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Every time someone says "No no no no, unlike the rest of CPAN, this one has to be installed by a human" I want to avoid those modules, because if that's the case how will I ever embed that thing in something larger, such that the person installing the larger thing doesn't need to know anything about how it works underneath.

    • Sure, that's fair. I'm afraid I didn't really stress that you can install PDL from CPAN without doing anything special that I discussed above. (I've edited my original post to reflect this.) PDL's installer will detect if you've got OpenGL or PLplot installed, and skip those steps if it doesn't find it. You really only need to do the special stuff if you want to visualize your data or use the GSL.

      You do raise an important point, of course. Suppose you wanted to write a module or program that uses PDL to make plots using PLplot. The installer could then check if you (or your user) has the PLplot libraries installed, and offer to download and build them if you don't. It is quite likely, however, your OS's package manager has a package for the library that PDL wants. Perhaps PDL should learn to detect if you're running Windows, Mac, or Linux, and either download and install the appropriate installer or work through your OS's package manager. Has anybody written a Perl module that can do this? That would be awesome!