The compounds provided herein are suitable for inhibiting a virus in a patient and for treating a patient suffering from a viral infection such as an influenza virus. Also provided is a method for screening of compounds for use in treating and preventing viral infections. The assay screens compounds for activity against an influenza virus by measuring the cytopathogenic effect (CPE) of the compound on influenza infected-cells using percent cell viability as the end point.