Think about Loose Coupling | |
PerlMonks |
iterating through a 2 dimensional hashby Baz (Friar) |
on Apr 06, 2003 at 12:57 UTC ( [id://248426]=perlquestion: print w/replies, xml ) | Need Help?? |
Baz has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have the following -
and I wish to print out - AB 1 = X:420,Y:520,Z:870 AB 2 = X:220,Y:520,Z:470 AB 6 = X:320,Y:320,Z:270 AB 7 = X:520,Y:720,Z:370 AB 8 = X:620,Y:520,Z:670 PL 12 = X:420,Y:520,Z:570 PL 13 = X:220,Y:520,Z:170 B 2 = X:320,Y:720,Z:670 B 4 = X:520,Y:520,Z:170 B 5 = X:620,Y:820,Z:370 how would I do this exactly - using a for or foreach loop. Thanks, Barry.
Back to
Seekers of Perl Wisdom
|
|