phemal has asked for the wisdom of the Perl Monks concerning the following question:
foreach my $id ($doc->getElementsByTagName('attack')){ %_attack = ($id => { 'severity' => '0' 'category' => '1' }, ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unable to store keys and values in hash when "keys" are passed at runtime
by davorg (Chancellor) on Feb 15, 2007 at 10:51 UTC | |
|
Re: unable to store keys and values in hash when "keys" are passed at runtime
by dorward (Curate) on Feb 15, 2007 at 10:53 UTC |