We use the modular decomposition to give O(n(m + n)) algorithms for fi
nding a maximum weighted clique (respectively stable set) and an appro
ximate weighted colouring (respectively partition into cliques) in a (
P-5,(P-5) over bar)-free graph. As a by-product, we obtain an O(mfn) a
lgorithm for finding a minimum weighted transversal of the Cs in a (P-
5,(P-5) over bar)-free graph.