| 1 | 1 | ▶ | use Test::More; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | 1 | plan tests => 1; | |||||||||
| 4 | 1 | ok(1); | |||||||||
| 5 | |||||||||||
| 6 | 1 | eval { | |||||||||
| 7 | 1 | require Chemistry::File::SMILES; | |||||||||
| 8 | 1 | my $v = Chemistry::File::SMILES->VERSION; | |||||||||
| 9 | 1 | ▶ | if ($v < 0.43) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 10 | 0 | diag "You have Chemistry::File::SMILES version $v installed. It is not compatible with this version of Chemistry::Mol. Please upgrade to Chemistry::File::SMILES 0.43 or higher.\n"; | |||||||||
| 11 | } | ||||||||||
| 12 | }; | ||||||||||