Martin Moss wrote:
> Hi All,
>
> Wondering if anybody has an 'efficient' Hat on today?
>
> I Have a Hash who's Key's are all 'Module Names'.
> e.g.
>
> Foo=>1
> Foo::Bar=>1
> Foo::Bar::Poo=>1
> Foo::Beer=>1
> Foo::Beer::Nuts=>1
> Foo::Beer::Nuts::Hmmm=>1
> Foo::Bar::AgainHmmm=>1
>
> What I want
Earth to Brain!!
Sorry I think I temporarily forgot the 'sort' function,
Marty
- Original Message -
From: "Martin Moss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 9:04 PM
Subject: [Perl-unix-users] Sorting Flat list of Module Names into
Hi All,
Wondering if anybody has an 'efficient' Hat on today?
I Have a Hash who's Key's are all 'Module Names'.
e.g.
Foo=>1
Foo::Bar=>1
Foo::Bar::Poo=>1
Foo::Beer=>1
Foo::Beer::Nuts=>1
Foo::Beer::Nuts::Hmmm=>1
Foo::Bar::AgainHmmm=>1
What I want to do is to turn this hash into a Hierarchical Has