in reply to hash of lists - hash of hashes
%HoL = ( bob => [ "mary", "ken" ],
aditya => [ "cary", "bob" ],
devil => [ "bob", "aditya" ]
);
and i then finally want:
%HoL = ( bob => { mary => 1, ken => 1 },
aditya => { cary => 1, bob => 1, mary => 1, ken => 1 },
devil => { bob => 1, mary => 1, ken => 1, aditya => 1, cary => 1 }
)
so now everything shows itself readily when we use the hash, or something like that.
and of course, one shouldn't get into a recursive loop, etc, blah blah blah
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: extended problem
by merlyn (Sage) on Jun 13, 2000 at 05:06 UTC | |
|
RE: extended problem
by Anonymous Monk on Jun 13, 2000 at 11:38 UTC | |
by visnu (Sexton) on Jun 14, 2000 at 03:32 UTC | |
by visnu (Sexton) on Jun 13, 2000 at 11:40 UTC |