Hi, just getting restarted in programming from simple scripts. Using perl, how do I count the number of occurences of a string within a file? I can get my snipits to print the occurences, but what would be the simplest way to store them for a count, or just get perl to count them? I can use a line count, but then I have to create a temp file. Any advice is helpful, like I said, it's been a while and I'm just getting started again.
Thanks
Thanks