cpan: table -> record_detail template