Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

RE (tilly) 2: Have you worked to get it?

by tilly (Archbishop)
on Sep 20, 2000 at 15:40 UTC ( #33266=note: print w/replies, xml ) Need Help??


in reply to RE: Have you worked to get it?
in thread Populating a Hash: Can someone help me to understand?

I think you are treating this as unknown code to try and figure out, rather than as an unknown concept to master. Instead of trying random tinkering and syntax from working code, try a series of exercises. Such as this:
  1. Read Data::Dumper's documentation.
  2. Pass Data::Dumper a reference to an array and see what it gives you.
  3. Take a reference to an array and try to get a specific element from that.
  4. Loop through the elements of an array which you have a reference to.
  5. Repeat with hashes.
  6. Repeat with various combinations of nested arrays and hashes.
  7. Then try to see if you understand and could explain to someone else who understood references the code which puzzled you.
Please try that.
  • Comment on RE (tilly) 2: Have you worked to get it?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-10-30 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (277 votes). Check out past polls.

    Notices?