Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Decode Hash Values

by arivu198314 (Sexton)
on Dec 15, 2011 at 10:42 UTC ( #943688=note: print w/replies, xml ) Need Help??


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 (Sage) 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 (Pope) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://943688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-10-23 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (125 votes). Check out past polls.

    Notices?