Skip Menu |

This queue is for tickets about the Net-HL7 CPAN distribution.

Report information
The Basics
Id: 55805
Status: new
Priority: 0/
Queue: Net-HL7

People
Owner: Nobody in particular
Requestors: don.goodeve [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::HL7 version 0.75
Date: Mon, 22 Mar 2010 16:08:27 -0700
To: bug-Net-HL7 [...] rt.cpan.org
From: Don Goodeve <don.goodeve [...] gmail.com>
Example code: --- my $msg = new Net::HL7::Message($msgText); my @segments = $msg->getSegments(); @segments = $msg->getSegments(); my $value = $segments[0]->getField(3); --- If field 3 of segment 0 is empty, $value will return as an array reference to an empty array rather than the "" I would expect. This is non-documented functionality and might be good to fix in the documentation or the code. By the way - many thanks for the code - this has made my job a whole lot easier over the last couple of weeks. Cheers Don