|Think about Loose Coupling|
My "if" is failing!by Sumtingwong (Novice)
|on Nov 28, 2012 at 21:45 UTC||Need Help??|
Sumtingwong has asked for the
wisdom of the Perl Monks concerning the following question:
Pretty new here and not much experience...please bear with me. I am parsing an HTML file for a word in a foreign language. If the word is found, it will add it to a file. However, I put an "else" in there and the regex will no longer work in the opening "if" and defaults to the first "print" statement under the "else". When the "else" block is removed, the regex works. Any help would be greatly appreciated!