Subject: | Chemistry::File doc bug |
The Synopsis for Chemistry::File currently has:
package Chemistry::File::Myfile;
use base qw(Chemistry::File);
Chemistry::Mol->register_type("myfile", __PACKAGE__);
But minimum working code requires (need 'use' and not s/type/format/
correction):
package Chemistry::File::Myfile;
use base qw(Chemistry::File);
use Chemistry::Mol;
Chemistry::Mol->register_format( myfile => __PACKAGE__);