in reply to Re: XML::Simple help
in thread XML::Simple help

A couple of comments:

With those changes, the handler code becomes:

sub{    $hash->{$_->att('code')}=$_->att->( 'name'); }