Hi,

Attached patch seems to take care of the problem with Graphics/PGPLOT/Window.pm. Tests all successfully run to completion without any warnings or failures or unwanted output.

Might it still contain some unexploded grenades ?

And there's still the question of what on earth Filter::Simple is doing to MatrixOps.pm on 5.12 and earlier.

Cheers,
Rob

From: Craig DeForest
Curiouser and curiouser...

You might investigate a few lines up, in case the test harness is padding
the top with some preamble...?  Also, does that file use NiceSlice?

(mobile)


On Jan 30, 2013, at 7:58 PM, <[email protected]> wrote:

Hi,

I think the problems with PDL::Graphics::PGPLOT must somehow result from
the use of Filter::Simple.

With _006, when I run 'perl -Mblib t/pgplot.t', the output is simply:

1..0 # SKIP Skipped: PDL::Graphics::PGPLOT not installed

--- Window.pm_orig      2013-01-31 16:07:38 +1100
+++ Window.pm   2013-01-31 16:09:53 +1100
@@ -2260,6 +2260,8 @@
use SelfLoader;
use PGPLOT;

+no PDL::NiceSlice;
+
require DynaLoader;

@ISA = qw( Exporter SelfLoader DynaLoader );
@@ -4070,6 +4072,9 @@
=cut

sub _image_xyrange {
+
+  use PDL::NiceSlice;
+
  my($tr,$nx,$ny,$opt) = @_;

  # Set identity $tr if no $tr is passed in.  This looks funny
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to