NAME
xDT::Record - A xDT record
VERSION
Version 1.06
SYNOPSIS
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();
ATTRIBUTES
length
The length of this record.
record_type
This records record type.
value
The value of this record.
SUBROUTINES/METHODS
get_length
Returns the length of this record.
get_record_type
Returns the record type of this record.
get_accessor
Returns the accessor of the records record type.
get_labels
Returns the labels of the records record type.
get_id
Returns the id of the records record type.
get_type
Returns the type of the records record type.
get_max_length
Returns the maximum length of the records record type.
is_object_end
Checks if the records record type is an end record.
get_value
Returns the value of this record.
AUTHOR
Christoph Beger, <christoph.beger at medizin.uni-leipzig.de>