Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Ok I ran into this problem the other day and never bothered to figure it
out cause I found a better way to do what I wanted. But alas I have run
into it again. So here goes:
I am trying to construct a hash of refrences to arrays of
refrences to hashes. I have the top level hast to start with and cannot
figure out how to push the new elements onto the arrays.
I am doing this to sort of internally represent segments of a MySql
database so I am looking for a structure that looks like:
$Tables{table_name}->[3]->{col_name} = some value
where all the array refrences (ie 3 in the example) are individual rows of
the table table_name, and are represented by a hash refrence to a hash
with col_name=value as its contents.
Did that make any sense at all? I have done somthing like this a
LONG tima ago and I know its really somthing pretty simle but I cant seem
to get it the way I want .... any ideas? ..... I guess Ill be browsing
the camel book fer a bit. :)
Regards,
Scott