Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Iterating over hash to find specific key to sum up the cost (updated)

by LanX (Sage)
on Oct 29, 2021 at 19:56 UTC ( #11138237=note: print w/replies, xml ) Need Help??


in reply to Re^2: Iterating over hash to find specific key to sum up the cost (updated)
in thread Iterating over hash to find specific key to sum up the cost

anyway I don't understand the requirement "sums up to 430" either.

FWIW: This old node shows a recursive walker to dive into a randomly nested structure.

The OP might want to adapt it to his needs.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: Iterating over hash to find specific key to sum up the cost (updated)

Replies are listed 'Best First'.
Re^4: Iterating over hash to find specific key to sum up the cost (updated)
by haukex (Bishop) on Oct 29, 2021 at 20:03 UTC
    anyway I don't understand the requirement "sums up to 430" either.

    See the last update at the top of my node: the cost keys did originally sum up to 430.

    Update:

    FWIW: This old node shows a recursive walker to dive into a randomly nested structure.

    I've also got some "diver" type code if you search for "dive" on my scratchpad.

      walkers/divers are fun, fuzzy requirements not.

      This OP sounds sufficiently familiar to leave this thread for good!

      See ya! :)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2022-01-28 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?