What kinds of perturbation spectra can be produced by inflation?