----- Original Message ----- From: "Doug Hunt" <[email protected]>
To: "Orion Poplawski" <[email protected]>
Cc: "Plplot-devel mailing list" <[email protected]>; <[email protected]>
Sent: Friday, September 09, 2011 7:11 AM
Subject: Re: [Perldl] [Plplot-devel] PDL-Graphics-PLplot 0.56 and plplot 5.9.8


OK!  PDL-Graphics-PLplot 0.60 now includes ./a.out

Which breaks Windows again :-)

In t/plplot_library_tests.t, instead of:

##################################
 # Run C version
 my $devnull = File::Spec->devnull();
 system "./a.out -dev svg -o x${num}c.svg -fam > $devnull 2>&1";
##################################
can we have something like:
##################################
 # Run C version
 my $devnull = File::Spec->devnull();
 my $dot_slash = $^O =~ /MSWin32/i ? '' : './';
 system "${dot_slash}a.out -dev svg -o x${num}c.svg -fam > $devnull 2>&1";
##################################

That's fine (and tested) on Windows - and looks like it should be fine (but untested by me) on those systems that want the preceding "./".

(I don't see there's any need to upload a new release of PDL::Graphics::PLplot to CPAN, just to fix this problem. I think it can wait until there are additional changes to make.)

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to