Hi, I've been trying to do the following:
if (m/(foobar)\{2,}?/ig)
to process a file and only act on those lines where greater than 2 occurences of 'foobar' are present. Not working - I suspect it may need the "back-referencing" technique, but I'll be pleasantly surprised if someone here can do it with a simple matching technique