Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • I've been meaning to learn more PDL so I can do a quick intro for the students in my department. Mostly as an alternative to Matlab.

    I just haven't made the time to learn it and really the plotting part. I think that's what sets matlab apart is the plotting. An ex-grad student did a similar thing with Python (which I might try to pick up but my Python Fu is weak, as it usually is for Perl folks).

    Keep the posts coming, you'll have one interested reading.

  • 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 t

    • Ha! So I just read what you had to say about Chocolate Perl []. So you are quite serious when you say you're thinking about including PDL in a bigger project...

      As I said, it works out-of-the-box from CPAN. I've dropped a note on the Perldl mailing list about making the installer even smarter, but since a lot of optional PDL stuff depends on external libraries, it would be nice to have some way to interact with the OS and make it install its version of the desired library.

  • For those of you using ActiveState's ppm, detailed instructions are given in the tarball's win32/INSTALL file. Since you probably won't have much use for said tarball, I've included the lowdown here. If you need more details... I guess you'll have to downlaod that tarball and take a look at the file yourself.

    First up install Astro::FITS::Header by running:

    ppm install Astro-FITS-Header

    Then install the OpenGL, PGPLOT and PDL modules from the uwinnipeg rep by running:

    For perl 5.8:
      ppm install http:/