Skip to content

Commit

Permalink
stop eval-ing loading driver module
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Apr 11, 2024
1 parent 0e04e5e commit ea83184
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- if PDL_SIMPLE_ENGINE in ENV, use ONLY that if engine unspecified
- each driver module now publishes which $P:G:S::API_VERSION it conforms to
- PGS::register takes hashref instead of magic var in driver namespace
- loading driver module not eval-ed

1.010 2024-03-24
- fix PGPLOT to read devices correctly
Expand Down
2 changes: 1 addition & 1 deletion lib/PDL/Graphics/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ sub _list_submods {

for my $module (_list_submods(qw(PDL Graphics Simple))) {
(my $file = $module) =~ s/::/\//g;
eval { require "$file.pm"; $module->import; };
require "$file.pm";

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 5.10)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (5.30, ubuntu-latest, pgplot)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (5.30, ubuntu-latest, gnuplot)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (5.30, ubuntu-latest, true, true)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (5.30, ubuntu-latest, plplot)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 5.20)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 5.14)

Compilation failed in require

Check failure on line 325 in lib/PDL/Graphics/Simple.pm

View workflow job for this annotation

GitHub Actions / ci (5.30, macos-latest)

Compilation failed in require
}
$mod_abbrevs ||= _make_abbrevs($mods); # Deal with abbreviations.

Expand Down
2 changes: 0 additions & 2 deletions lib/PDL/Graphics/Simple/Prima.pm
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,6 @@ $types->{errorbars} = sub {
&{$types->{limitbars}}($me, $plot, $block, $cprops, $co);
};




##############################
# Plot subroutine
Expand Down

0 comments on commit ea83184

Please sign in to comment.