in reply to Re: Decode Hash Values
in thread Decode Hash Values

Is there any way without extra module?

Replies are listed 'Best First'.
Re^3: Decode Hash Values
by GrandFather (Saint) on Dec 15, 2011 at 10:45 UTC

    Of course, but if you wanted to do a bunch of work reinventing wheels why did you come to us for advice?

    Is there some particular reason you think you can't use a module? Maybe you should take a look at Yes, even you can use CPAN?

    True laziness is hard work
Re^3: Decode Hash Values
by ikegami (Patriarch) on Dec 15, 2011 at 10:45 UTC
    Are you asking for us to copy the module's contents here?
Re^3: Decode Hash Values
by Anonymous Monk on Dec 15, 2011 at 12:40 UTC

    Well, you go recursively through your hash. If ref $node eq "ARRAY" or "HASH" you loop through it (with recursion). This wheel isn't particularly hard to re-invent, for limited data sets.