Greetings all,
Just an FYI you can use an 'x' in your unpack template to remove the spaces ('x'='A null byte.'), that is unless you want the spaces.
so
my @FIELDS = unpack('a9a4a10a8', $record);
becomes
my @FIELDS = unpack('x9a4x10a8', $record);
Given your example code above the output would be:
$record = [ none lt2dpmnt]
field=[none]
field=[lt2dpmnt]
-injunjoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo