On Thu, Feb 13, 2014 at 8:41 AM, David Cantrell <[email protected]>wrote:

> Just because there's not a fancy suite of huge libraries on the CPAN
> doesn't mean it can't do it. It just means that there's no need for
> fancy libraries because it's built in to the language.
>

Just so.

What made Uri's example interesting was that while each ACORD AL3 record
type is fixed length, the records within a transaction vary. So seek to
$lrecl*($recno-1) doesn't work.

Uri showed us both the one-off scripts that extracted record-type meta data
from documentation and inserted it into the DB specification table, and the
parser module that peeked for leading record type id, built unpack() spec
and hash-keys from retrieved metadata, and then inserted the data into DB
staging tables.

Also of interest was Uri's ad hoc technique to accept multiple release
dates of consortium specification, made easy by the standard's
meta-standard of leaving obsolete fields fallow and extending the lrecl to
accommodate new/revised fields.

-- 
Bill
@n1vux [email protected]

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to