|more useful options|
iterating a hash of (complex?) arraysby tcf03 (Deacon)
|on Apr 27, 2005 at 03:38 UTC||Need Help??|
tcf03 has asked for the wisdom of the Perl Monks concerning the following question:
I threw together the following code while reviewing perldsc and perlref.
and it does what I want. Wellllll, almost. Plus I cant use strict; My output looks like this:
broinlaw Linus Pig Pen coworkers sammy colin dave friends Jack Jill Peter Mac inlaws ARRAY(0x8069d88) Luke Leigh ARRAY(0x8069db8) Carol Jack parents Barbie Ken pets Miles Vanilla ARRAY(0x8069ce0) Dallas some cat ARRAY(0x8069d10) snoopy woodstock siblings John Robert sisinlaw Lucy wife Heather
and Ill get this output
broinlaw Linus Pig Pen friends Jack Jill Peter Mac inlaws ARRAY(0x806a030) ARRAY(0x806a060) parents Barbie Ken pets Miles Vanilla ARRAY(0x8069fc4) siblings John Robert sisinlaw Lucy wife Heather
"Men have become the tools of their tools."
--Henry David Thoreau