emav has asked for the wisdom of the Perl Monks concerning the following question:
Output:#!/usr/bin/perl -- %griph=('c' => @c_griph, 'b' => @b_griph, 'f' => @f_griph, 'o' => @o_griph, 'r' => @r_griph, 'm' => @m_griph, 'y' => @y_griph, 'g' => @g_griph, 'p' => @p_griph, 'w' => @w_griph); print "c = ",$griph{'c'},"\n"; print "b = ",$griph{'b'},"\n"; print "f = ",$griph{'f'},"\n"; print "o = ",$griph{'o'},"\n"; print "r = ",$griph{'r'},"\n"; print "m = ",$griph{'m'},"\n"; print "y = ",$griph{'y'},"\n"; print "g = ",$griph{'g'},"\n"; print "p = ",$griph{'p'},"\n"; print "w = ",$griph{'w'},"\n";
c = b b = f = o o = r = m m = y = g g = p = w w =
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multidimensional hashes
by ikegami (Patriarch) on Nov 02, 2004 at 22:30 UTC | |
|
Re: Multidimensional hashes
by jeffa (Bishop) on Nov 02, 2004 at 22:32 UTC | |
|
Re: Multidimensional hashes
by BrowserUk (Patriarch) on Nov 02, 2004 at 22:32 UTC | |
|
Re: Multidimensional hashes
by pg (Canon) on Nov 02, 2004 at 22:33 UTC | |
by emav (Pilgrim) on Nov 02, 2004 at 22:36 UTC | |
|
Re: Multidimensional hashes
by dimar (Curate) on Nov 03, 2004 at 18:35 UTC |