but I'm not having any results!

I know exactly how you feel. I keep hoping for a Sign. Nothing.

What can I do?

FWIW, I have been advised to seek professional help on a number of occasions.

Now, the code you've posted looks as though it successfully reads one file into a hash, and then reads another file line by line, and does some fiddling about with each line, in some way related to the contents of the hash.

Sadly, my mind reading skills are on the blink, and the crystal ball is at the cleaners.

Go on, give us a clue: exactly what do you want this thing to do ? What is the relationship between the keys and the values in the hash you construct ? What is the function of the '[Nn]' etc in the word list ?

These questions, and many more, ...


In reply to Re: Counting occurence of a list of word in a file by gone2015
in thread Counting occurence of a list of word in a file by b_vulnerability

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.