in reply to looping multidimensional arrays

for my $key ( keys %Cars ) { printf "%10.10s: %s\n\n", $key, join "\n ", map{ "$_ drives $Cars{ $key }" } @{ $Names{ $key }{name} }; };; Washington: Eric drives Honda Smith drives Honda California: John drives BMW Paddy drives BMW Josh drives BMW

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: looping multidimensional arrays
by sunil9009 (Acolyte) on Dec 06, 2013 at 02:06 UTC

    Thanks guys, I never left empty handed, since I met you guys. You rock !!