Hi Doug: On 2008-12-04 10:41-0700 Doug Hunt wrote:
> Hi Alan: I've just checked an update to perl/x02.pl into SVN. It depends > upon PDL-Graphics-PLplot-0.40 which I just uploaded to CPAN. > > I'll be working on updating/adding new examples over the next weeks--I expect > it will take a while! I'll update PDL-Graphics-PLplot as necessary. I saw your commit of the revised example 2 for Perl/PDL. Since then I have made some build-system changes (revision 9037) to change the list of what Perl/PDL examples are executed depending on the CMake variable HAVE_PDL_GRAPHICS_PLPLOT_40. Currently, example 02 and example 20 are excluded from the list if that variable is not "ON". Could you follow up on my work by maintaining the two lists in plplot_test/test_perl.sh.in as you continue to update the perl/pdl examples and add new ones? Also, could you put some basic cookbook-style instructions in examples/perl/README.perldemos so a perl newbie (like me) could download and install PDL-Graphics-PLplot-0.40? I would like to test out your updated examples. (My current installed version of PDL is 2.4.3-8 from Debian Lenny.) The current method of specifying HAVE_PDL_GRAPHICS_PLPLOT_40 is to set either -DHAVE_PDL_GRAPHICS_PLPLOT_40=ON or -DHAVE_PDL_GRAPHICS_PLPLOT_40=OFF (the default) as one of the cmake options. I would like to replace that crude control method by one that automatically tests the version of PDL-Graphics-PLplot that is available and sets HAVE_PDL_GRAPHICS_PLPLOT_40 appropriately. To implement that, I need to know a simple command you could execute from the command-line that could be used to figure out whether version 0.40 (or later) of PDL-Graphics-PLplot is installed or not. Do you have such a command to suggest to me? Ideally, the command would succeed (return code 0) or fail (non-zero return code) depending on whether 0.40 or later was installed, but other possibilities (such as returning a version number and letting CMake decide whether that is >= 0.40) would work as well. I am very pleased to hear that you are actively working on the Perl/PDL aspects of PLplot again. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel