Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: hash of hash

by Eily (Monsignor)
on Feb 15, 2019 at 14:31 UTC ( #1229957=note: print w/replies, xml ) Need Help??

in reply to hash of hash

At this point it's pretty obvious that this is just a series of exercises for which you are asking for an answer. Beyond the fact that perlmonks is not a code writing service (you can't rely on being given a full answer, because perlmonks is more about giving means and corrections, not the full solution), this means that there's a chance that you are expected to explore or demonstrate a specific tool or idiom of perl. But (one of) perl's motto is "There is more than one way to do it", so even if you get *a* solution, it might not be the expected one, and you probably won't have learned what you were meant to learn.

For example in this case, this might be an exercise meant to demonstrate the use of slices, or split, or while with last... (there are plenty of other tools that could be used, but these are the most straightforward for your problem IMHO). It might even be about oneliners, in which case there's a very high chance that you'll just be given a solution that's completely out of topic.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2019-11-19 10:15 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (95 votes). Check out past polls.