xDT::Record - A xDT record
Instances of this module correspond to records (lines) in a xDT file. They provide some methods to acces fields and record type metadata.
use xDT::Record; my $record = xDT::Record->new($line); say 'Value: '. $record->get_value(); say 'Length: '. $record->get_length(); my $record_type = $record->get_record_type();
The length of this record.
This records record type.
The value of this record.
Returns the length of this record.
Returns the record type of this record.
Returns the accessor of the records record type.
Returns the labels of the records record type.
Returns the id of the records record type.
Returns the type of the records record type.
Returns the maximum length of the records record type.
Checks if the records record type is an end record.
Returns the value of this record.
Christoph Beger, <christoph.beger at medizin.uni-leipzig.de>
<christoph.beger at medizin.uni-leipzig.de>
To install xDT::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm xDT::Parser
CPAN shell
perl -MCPAN -e shell install xDT::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.