in reply to Re: multi-dimensional hash
in thread multi-dimensional hash

The data will be organized betted if you substitue
print Dumper(%hash);
with
print Dumper(\%hash);

Replies are listed 'Best First'.
Re^3: multi-dimensional hash
by blue_cowdawg (Monsignor) on Nov 02, 2005 at 21:08 UTC
        The data will be organized betted if you substitue

    True

    Done that way it looks like:

    $VAR1 = { 'dd' => '-', 'fb' => '-', 'ab' => '-', 'ge' => '-', 'bd' => '-', 'dc' => '-', 'aa' => '-', 'cc' => '-', 'ae' => '-', 'ba' => '-', 'cb' => '-', 'gb' => '-', 'ef' => '-', 'ea' => '-', 'gd' => '-', 'ec' => '-', 'cg' => '-', 'ad' => '-', 'eg' => '-', 'de' => '-', 'fe' => '-', 'fg' => '-', 'dg' => '-', 'cf' => '-', 'bf' => '-', 'ed' => '-', 'ce' => '-', 'ac' => '-', 'gf' => '-', 'bb' => '-', 'db' => '-', 'ee' => '-', 'bc' => '-', 'ga' => '-', 'gc' => '-', 'af' => '-', 'fd' => '-', 'gg' => '-', 'fc' => '-', 'ca' => '-', 'ag' => '-', 'be' => '-', 'fa' => '-', 'cd' => '-', 'ff' => '-', 'bg' => '-', 'df' => '-', 'da' => '-', 'eb' => '-' };

    Much more readable.