Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Confused by some var names in perlref

by BillKSmith (Monsignor)
on Dec 08, 2018 at 16:31 UTC ( [id://1226972]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Confused by some var names in perlref
in thread Confused by some var names in perlref

Thanks for the explanation. Because I failed to decipher the strange word, I did not get the joke, not even the point. 'Associative array' is a rather long name. However, I still would have preferred it over 'hash'. When I was first learning Perl, I naively thought of an array as a structure which associated values with integers and A 'associative array' as a special kind of array which associated the values with strings instead of integers. The syntax for accessing values from either one is consistent with this view. The name 'hash' is not misleading simply because it does not offer a hint about how to use the structure or what it might be used for.
Bill
  • Comment on Re^4: Confused by some var names in perlref

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found