Hi Alan: I've been working on the perl/PDL demos for the last couple of
days. I noticed the problem with the deprecated plplot functions. When
I'm done, I'll release a new version of PDL::Graphics::PLplot which
detects the version of PLplot and does the right thing.
At that time, the instructions should be easier.
UCAR - COSMIC, Tel. (303) 497-2611
On Fri, 15 Apr 2011, Alan W. Irwin wrote:
> Hi Doug:
> As you know I have recently disabled the Perl/PDL examples by default.
> However, that does not preclude trying the examples using the PLplot
> cmake option -DENABLE_pdl=ON. When I did that today, there were some
> complications due to the recently removed deprecated functions, and
> the soname version bump that occurred for the 5.9.7 release and which
> will occur again for the 5.9.8 release (partially due to those removed
> deprecated functions).
> I have appropriately updated the PDL::Graphics::PLplot-0.52 build and
> install instructions at examples/perl/README.perldemos. Note, those
> instructions include patching plplot.pd as per
> examples/perl/plplot.pd.patch to consistently remove deprecated API
> from PDL::Graphics::PLplot that has also been recently removed from
> Here are the current diff results for the Perl/PDL examples against
> the corresponding C versions.
> Missing examples : 33
> Differing postscript output : 03 04 16 18 19 25 26 27 29 30
> Missing stdout :
> Differing stdout :
> The widespread nature of these differences was my original motivation
> for disabling testing of the Perl/PDL examples by default, but all the
> complications you have to go through as indicated in
> examples/perl/README.perldemos to even perform this test is another
> excellent reason for disabling the tests of the Perl/PDL examples by
> default for now.
> Of course, once you have adjusted PDL::Graphics::PLplot to be
> consistent with the latest updated PLplot API for the svn trunk
> version (which will soon turn into the 5.9.8 release), then the
> instructions in examples/perl/README.perldemos (which I hope you
> update when the time comes) should be much simpler, and I presume that
> will allow us to enable Perl/PDL by default again.
> 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
> Linux-powered Science