[Chicago-talk] Deprecated use of hash as a reference

Steven Lembark lembark at wrkhors.com
Thu Apr 8 09:18:23 PDT 2010


On Thu, 8 Apr 2010 10:18:32 -0500
imran javaid <imranjj at gmail.com> wrote:

> what if you had used the following?
> push @{%hash{$odate}}, {id => $id, ..

    %hash{$date}

is better written as

    $hash{ $date }

since you are extracting a scalar from
the hash using the key.



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


More information about the Chicago-talk mailing list