TBX::Min::NoteGrp - Store information from one TBX-Min noteGrp element
noteGrp
version 0.08
use TBX::Min::NoteGrp; use TBX::Min::Note; my $note_grp = TBX::Min::NoteGrp->new( my $note = TBX::Min::Note->new({noteKey => 'grammaticalGender', noteValue => 'male'}); $note_grp->add_note($note); my $notes = $note_grp->notes; print $#$notes; # '1'
This class represents a single note group contained in a TBX-Min file. A note group contains a single noteValue and and optional noteKey.
new
Creates a new TBX::Min::NoteGrp instance. Optionally you may pass in a hash reference which is used to initialized the object. The fields of the hash correspond to the names of the accessor methods listed below.
TBX::Min::NoteGrp
notes
Returns an array ref containing all of the TBX::Min::NoteGrp objects in this tig. The array ref is the same one used to store the objects internally, so additions or removals from the array will be reflected in future calls to this method.
add_note
Adds the input TBX::Min::Note object to the list of language groups contained by this object.
TBX::Min::Note
TBX::Min
Nathan Glenn <garfieldnate@gmail.com>, James Hayes <james.s.hayes@gmail.com>
This software is copyright (c) 2016 by Alan Melby.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install TBX::Min, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TBX::Min
CPAN shell
perl -MCPAN -e shell install TBX::Min
For more information on module installation, please visit the detailed CPAN module installation guide.