in reply to Re: How do you move within an array using foreach?
in thread How do you move within an array using foreach?
As I read each section, I need to drop each of
these into a hash.
For example:
Does that make sense?# there are n number of files to parse %masterhash = ( %file_1_hash, ..., %file_n_hash); # within each file hash %file_1_hash = (%foo, %foo2); #within each section %foo = ( letter => "a", number => "b" ); # %letter would = a # %number would = b ... with n number of elements within foohash # same for foo2 %foo2 = ( %letter, %number); # same as foo #... Note: n number of sections in each file.
-P0w3rK!d :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (3): How do you move within an array using foreach?
by VSarkiss (Monsignor) on Oct 10, 2002 at 19:15 UTC | |
by P0w3rK!d (Pilgrim) on Oct 10, 2002 at 19:28 UTC | |
|
Re: Re: Re: How do you move within an array using foreach?
by P0w3rK!d (Pilgrim) on Oct 10, 2002 at 18:51 UTC | |
by jj808 (Hermit) on Oct 10, 2002 at 19:31 UTC |