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 > > That message originates from this section of the pgplot.t code: > > ############################# > BEGIN{ > eval "use PDL::Graphics::PGPLOT; use PDL::Graphics::PGPLOT::Window;"; > if ($@) { > plan skip_all => "Skipped: PDL::Graphics::PGPLOT not installed"; > } elsif ......... > ############################# > > If I alter that section of code to print out the keys of %INC, I can see that > Filter::Simple was loaded. > If I alter that section of code to print out the contents of $@, I find that > $@ contains: > > ############################# > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2693, near ") ]" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2697, near "1) " > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2707, near "} elsif" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2719, near "}" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2782, near "}" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2815, near "}" > Can't use global @_ in "my" at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2832, near "= @_" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2846, near "}" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2878, near "}" > syntax error at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm line > 2909, near "}" > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT/Window.pm has too > many errors. > Compilation failed in require at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/Graphics/PGPLOT.pm line 148, > <DATA> line 207. > BEGIN failed--compilation aborted at > C:\sisyphusion\PDL-2.4.11_006\blib\lib/PDL/ > Graphics/PGPLOT.pm line 148, <DATA> line 207. > Compilation failed in require at (eval 38) line 1, <DATA> line 207. > BEGIN failed--compilation aborted at (eval 38) line 1, <DATA> line 207. > ############################# > > That's the same Graphics/PGPLOT/Window/Window.pm as ships with _004, and > about which no complaints were made. If you look at the lines about which the > complaints are made, you'll see that those complaints are quite ludicrous. > > For example, line 2697 (2nd syntax error) consists of ' #' - with the > preceding line being empty, and the next line beginning with ' #'. > > Cheers, > Rob > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
