in reply to Re^3: Read the attribute from xml file
in thread Read the attribute from xml file

Hahaha with style :)
while( my( $att, $attref ) = %{ $event->{attribute} }){ print "$att required " if $attref->{required}; }

Replies are listed 'Best First'.
Re^5: Read the attribute from xml file
by Anonymous Monk on Jul 21, 2015 at 00:16 UTC
    and typos, oh boy
    while( my( $att, $attref ) = each %{ $event->{attribute} }){ print "$att required " if $attref->{required}; }