in reply to Parse handler for Attributes in XML
All the attributes are in the hash %attrs:
To access a specific attribute (e.g. command) just say:for my $attr (keys %attrs) { if ($attr eq 'command') { print "Command: $attrs{$attr}\n"; } }
my $command = $attrs{command};
In Section
Seekers of Perl Wisdom