Compounds of formula (I), wherein A represents a phenyl group substituted with -OX or a 3-indolyl group and the remaining substituents are as defined in the specification, can be used to treat or prevent viral infections such as HCV. Certain novel compounds of formula (I) are also disclosed.