Ovid,
There are actually
n number of tokens in the
file. I was trying to simplify the question. :)
As I read each section, I need to drop each of
these into a hash.
For example:
# 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.
Does that make sense?
-P0w3rK!d :)