in reply to Unable to Understand grep and hash use for prime no.

I'm unable to understand what exactly this code doing: exists $is_prime{$_} and $is_prime{$_}

Do you have any guesses?

Can you identify/name any part of the code as a type of thing (ex: variable , scalar...)?

  • Comment on Re: Unable to Understand grep and hash use for prime no.