I will discuss some new techniques used in a recent perturbative calculation of phi^4 theory in dimensional regularization and minimal subtraction. In particular I will focus on methods to extract divergences of Feynman integrals, such that their epsilon expansion is expressed in terms of convergent integrals (suitable for exact and numerical evaluation).