in reply to Re: Detect Two Strings in File
in thread Detect Two Strings in File

The OP didn't specify what to do if the first string isn't found. If it's not ok, set $alert to 1 before entering the loop.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ