<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl
use XML::DT;
%handler = ( contacts =&gt; sub{ [ split(";",$c)] },
             -default =&gt; sub{$c},
             -type    =&gt; { institution =&gt; 'MAP',
                           tels        =&gt; 'SEQ' });

$a = dt("ex10.2.xml", %handler);

use Data::Dumper;
print Dumper($a);
</pre></body></html>