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 reply to Re: Parse handler for Attributes in XML
by tangent
in thread Parse handler for Attributes in XML
by balajinagaraju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |