Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Okay, this just has to be my brain missing something, and it's driving me crazy. All the following code should be doing is deleting hash keys, not adding them, yes?
And yet, based on my data set the first print scalar(keys %auto_picks) returns a little over 100k, and the second more than twice that. Fellow Monks, I implore you, what is the cause of my stupid here? ---------- RESOLVED: Autovivification was my problem and turning it off via the autovivification module was my solution. Thanks to those that pointed out this was my problem.
Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.
In reply to RESOLVED - Autovivification: How Did I End Up With a Larger Number of Hash Keys Here? by perldigious
|
|