Hi Rob: Now PDL-Graphics-PLplot 0.61 (now on CPAN) includes your logic for getting rid of './' for Windows. I've tested it under Linux/Ubuntu.
Regards, Doug dh...@ucar.edu Software Engineer UCAR - COSMIC, Tel. (303) 497-2611 On Sat, 10 Sep 2011, Sisyphus wrote: > > ----- Original Message ----- From: "Doug Hunt" <dh...@ucar.edu> > To: "Orion Poplawski" <or...@cora.nwra.com> > Cc: "Plplot-devel mailing list" <plplot-devel@lists.sourceforge.net>; > <per...@jach.hawaii.edu> > 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 ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel