Chemistry-FormulaPattern

 view release on metacpan or  search on metacpan

t/parse/combine_ranges.pl  view on Meta::CPAN

$formula_patt = 'CH1-3CH2-3';
$expected_ranges = {
  'H' => {
    'high' => 6,
    'low' => 3
  },
  'C' => {
    'high' => 2,
    'low' => 2
  }
};
$expected_options = {};



( run in 0.594 second using v1.01-cache-2.11-cpan-5837b0d9d2c )