Skip to content

Commit

Permalink
Remove non-needed module loads, mostly Readonly and Carp
Browse files Browse the repository at this point in the history
These are not used in these packages.
  • Loading branch information
shawnlaffan committed Feb 20, 2024
1 parent 102fd12 commit 527511f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion lib/Biodiverse/GUI/GUIManager.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use Carp;
use Scalar::Util qw /blessed/;

use English ( -no_match_vars );
use Readonly;

use FindBin qw ( $Bin );
use Path::Tiny qw /path/;
Expand Down
1 change: 0 additions & 1 deletion lib/Biodiverse/GUI/Manager/BaseDatas.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use Carp;
use Scalar::Util qw /blessed/;

use English ( -no_match_vars );
use Readonly;

use FindBin qw ( $Bin );
use Text::Wrapper;
Expand Down
1 change: 0 additions & 1 deletion lib/Biodiverse/GUI/Tabs/CalculationsTree.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use Text::Wrapper;

our $VERSION = '4.99_002';

#use Readonly;
my $i;
use constant MODEL_NAME_COL => $i || 0;
use constant MODEL_INDEX_COL => ++$i;
Expand Down
2 changes: 0 additions & 2 deletions lib/Biodiverse/Metadata/BaseStruct.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package Biodiverse::Metadata::BaseStruct;
use strict;
use warnings;
use 5.016;
use Carp;
use Readonly;

our $VERSION = '4.99_002';

Expand Down
2 changes: 0 additions & 2 deletions lib/Biodiverse/Metadata/Parameter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ use warnings;
# with params and specified extensively in import and export metadata

use 5.016;
use Carp;
use Readonly;

use parent qw /Biodiverse::Metadata/;

Expand Down
2 changes: 0 additions & 2 deletions lib/Biodiverse/Metadata/Randomisation.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package Biodiverse::Metadata::Randomisation;
use strict;
use warnings;
use 5.016;
use Carp;
use Readonly;

use parent qw /Biodiverse::Metadata/;

Expand Down
3 changes: 0 additions & 3 deletions lib/Biodiverse/Metadata/SpatialConditions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package Biodiverse::Metadata::SpatialConditions;
use strict;
use warnings;
use 5.016;
use Carp;
use Readonly;
use Clone qw /clone/;

our $VERSION = '4.99_002';

Expand Down

0 comments on commit 527511f

Please sign in to comment.