Chemistry::File::FormulaMolecular formula reader/formatter | |
Download |
Chemistry::File::Formula Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Ivan Tubert-Brohman
- Publisher web site:
- http://search.cpan.org/~itub/
Chemistry::File::Formula Tags
Chemistry::File::Formula Description
Molecular formula reader/formatter Chemistry::File::Formula is a molecular formula formatter/reader.SYNOPSIS use Chemistry::File::Formula; my $mol = Chemistry::Mol->parse("H2O"); print $mol->print(format => formula); print $mol->formula; # this is a shorthand for the above print $mol->print(format => formula, formula_format => "%s%d{< sub >%d< /sub >});This module converts a molecule object to a string with the formula and back. It registers the 'formula' format with Chemistry::Mol. Besides its obvious use, it is included in the Chemistry::Mol distribution because it is a very simple example of a Chemistry::File derived I/O module. Requirements: · Perl
Chemistry::File::Formula Related Software