Irenaeus regards as heretical the opinion that the souls of the departed pass immediately into glory; Tertullian, Cyprian, the Acts of St Perpetua, Clement of Alexandria, Cyril of Jerusalem, Basil, Gregory of Nyassa, Ambrose, Chrysostom and Jerome, all speak of prayer for the dead and seem to imply belief in a purgatory, but their view seems to have been affected by the pre-Christian doctrine of Hades or Sheol.