So what would the hash_ref read like?<br>
<br>
$author_of_ref-&gt;{'Perl Best Practices'} = 'Damian Conway';<br><br><div><span class="gmail_quote">On 10/6/05, <b class="gmail_sendername">Jay Strauss</b> &lt;<a href="mailto:me@heyjay.com">me@heyjay.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Paul Baker wrote:<br>&gt; On Oct 5, 2005, at 9:55 PM, Jay Strauss wrote:<br>&gt;<br>&gt;<br>
&gt;&gt;In PBP (I haven't finished it yet) but so far he hasn't recommended a<br>&gt;&gt;naming for a hash_ref.<br>&gt;&gt;<br>&gt;&gt;hashes are blah_of<br>&gt;&gt;refs are blah_ref-&gt;<br>&gt;<br>&gt;<br>&gt; I haven't gotten my copy yet. What's the reasoning behind the _of for
<br>&gt; hashes?<br>&gt;<br><br>Actually on re-reading, PBP recommends ending the hash name in a<br>preposition specifically:<br><br>&quot;Moreover, because hashes often store a property that's related to their<br>key, it's often even more readable to name a hash with a singular noun
<br>followed by a preposition&quot;<br><br>$author_of{'Perl Best Practices'} = 'Damian Conway';<br><br>Ironically, he goes on to give some examples that don't end in a<br>preposition.&nbsp;&nbsp;I guess it's more of a guide-line.&nbsp;&nbsp;Try to make it read
<br>naturally.<br><br>Jay<br><br>_______________________________________________<br>Chicago-talk mailing list<br><a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/chicago-talk">
http://mail.pm.org/mailman/listinfo/chicago-talk</a><br></blockquote></div><br>