Skip to content

Commit

Permalink
Supresses smart match warning on some perl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vingman committed Aug 27, 2018
1 parent 43d9b07 commit 329fb82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Catalysis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ my $CENTER = NAMES->{CENTER};

package AaronTools::Catalysis;
use strict; use warnings;
no if $] >= 5.018, warnings => qw( experimental::smartmatch );
use Math::Trig;
use Math::Vector::Real;
use Math::MatrixReal;
Expand Down Expand Up @@ -1202,6 +1203,7 @@ sub remove_clash {

package AaronTools::Component;
use strict; use warnings;
no if $] >= 5.018, warnings => qw( experimental::smartmatch );
use Math::Trig;
use Math::Vector::Real;
use Data::Dumper;
Expand Down Expand Up @@ -1720,6 +1722,7 @@ sub part_LJ_energy {

package AaronTools::Ligand;
use strict; use warnings;
no if $] >= 5.018, warnings => qw( experimental::smartmatch );
use Math::Trig;
use Math::Vector::Real;
use Data::Dumper;
Expand Down

0 comments on commit 329fb82

Please sign in to comment.