[Chicago-talk] Oddity in 5.8.5, anyone seen this before?
Steven Lembark
lembark at wrkhors.com
Tue Jan 11 08:00:59 PST 2005
Executing line 114 of the code fragment below seems to
add keys into %$ident2id. Checking the defined operator,
it should not be modifying its terms. All of the added
keys (586001 - 528446 = 57555 of them) have undef values.
DB<4> x scalar keys %$ident2id
0 528446
DB<5> x scalar grep { ! defined $ident2id->{$_} } keys %$ident2id
0 0
DB<6> l
114==> my @expire = grep { defined } @{$ident2id}{@gonnerz};
115
116: $ident2id->{$_} = 0 for @expire;
DB<6> c 116
Cognia::Taxid::Transform::delnodes(/sandbox/lembark/etl/ncbi-species/lib/Cognia/Taxid/Transform.pm:116):
116: $ident2id->{$_} = 0 for @expire;
DB<7> x scalar keys %$ident2id
0 586001
--
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