[Chicago-talk] PBP - What to name a hash_ref?

Steven Lembark lembark at wrkhors.com
Mon Oct 17 16:21:33 PDT 2005


> Is that rhetorical? That was my original question

How about:

    $authorz->{ $title } = $name;

Trick with the 'z' is that too many english words
have a trailing 's' and it's easy to make mistakes
in "for my $name ( @name )" vs. "@names" -- your eye
skips over them. The trailing 'z' trick leaves you
with "for my $name ( @namz )" which is a bit more
obvious if you botch the array portion.
    

-- 
Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark at wrkhors.com                                     1 888 359 3508


More information about the Chicago-talk mailing list