Just another Perl shrine | |
PerlMonks |
Arrays as Hash Valuesby c (Hermit) |
on Aug 16, 2001 at 02:27 UTC ( [id://105213]=perlquestion: print w/replies, xml ) | Need Help?? |
c has asked for the wisdom of the Perl Monks concerning the following question:
I read this which goes over using a list as a value for an array. However, the example is in the format of what in my mind, I call "pushing" the values into the hash. I currently have a script that is written with hashes in the format of:
So, I would like to just %s/old/new/gc and update my current hashes. When i add in:
I get the huge hint of ARRAY(0x80cb874))[1] when I go to print a value. I've seen this in my books, unfortunately, I just sold my intro book and I'm waiting for its replacement. humbly -c
Back to
Seekers of Perl Wisdom
|
|