[Charlotte.PM] storing arrays in a hash
drewhead at drewhead.org
drewhead at drewhead.org
Fri Mar 25 08:28:42 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I've been working on a script lately (usually pretty late in the
> evening ;) where I'm storing arrays in a hash while going through a
> loop. Once I'm out of the loop, I iterate over the hash, acting on the
> key/value pairs. Odd thing is, when I try to pull the array back out of
> the hash...it's not an array anymore. If I ref the value of the hash
> key, nothing is printed out...I would expect to see ARRAY.
I'm not sure I understand. Can you provide an example of your hash
assignment, and then the looped deref? Plus what you are seeing and what
you had expecte to see?
- --
Drew Dowling Drewhead http://www.drewhead.org
drewhead at drewhead.org | | WWW / \ Alpha Phi Omega
Concord, North Carolina | | Nimat / \ Gamma Lambda
CLEMSON UNIVERSITY ALUMNI | | Apatschin /_____\
TIGER BAND! | VGAP4 Hosting at http://vgap.drewhead.org
-----BEGIN PGP SIGNATURE-----
Comment: Public key available at http://www.drewhead.org
iD8DBQFCRDwy8J7U7yHE638RAtSMAJwKnBt6kzp/o900aCB5Ksre+jmJqQCgl6li
/k23swcKGdOR+rOEmDAMb44=
=/Bf5
-----END PGP SIGNATURE-----
More information about the charlotte
mailing list