TITLE: How to solve integrals like Ramanujan
QUESTION [8 upvotes]: If you try to prove Ramanujan-like identities involving integrals or series, there is a wide variety of techniques to approach those problems (such as contour integrals, Fourier transformation, Dirichlet series and much more).
I wonder if there is a nice book that subsumes these techniques and offers a systematic approach to learn to solve hard integral identities. What would you recommend regarding this subject?

REPLY [6 votes]: As an alternative, you could possibly do what Ramanujan himself is reputed to have done, which is to take the book by Carr: "Formulas and theorems in pure mathematics" (it is probably available on Google books), and work your way through the book trying to prove all the results that Carr quotes without proof, and do this in parallel with reading "The Mathematical Legacy of Srinivasa Ramanujan" by Murty and Murty. 
Unfortunately, Ramanujan seems to have been rather poor writing out formal proofs of the amazing results he obtained, so I am not sure that my idea would be a very productive way to proceed, but it might possibly provide some insight into his way of making mathematical discoveries.