Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#sample code ... foreach my $acc ($xml->findnodes('/account')) { push @account, $acc->find('numbers'); push @names, $acc->find('names'); } my $c=-1; foreach (@acount) { print "Account: <b>$_</b> - Name: $names[$c]"; } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Arrays to Hash Issue
by kennethk (Abbot) on Sep 10, 2010 at 18:15 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2010 at 18:28 UTC | |
|
Re: Arrays to Hash Issue
by CountZero (Bishop) on Sep 10, 2010 at 18:50 UTC |