The stupid question is the question not asked | |
PerlMonks |
Re: Unable to Understand grep and hash use for prime no.by soonix (Canon) |
on Aug 04, 2015 at 18:59 UTC ( [id://1137415]=note: print w/replies, xml ) | Need Help?? |
Do I understand correctly that for numbers where $is_prime{$_} is false, the cached value is overwritten by a (supposedly superfluous) evaluation of is_prime($_)?
In Section
Seekers of Perl Wisdom
|
|