I admire PPI. It addresses a nearly intractable problem and solves it for almost every case admirably.
However, it's a really big distribution. It contains lots of modules, uses lots of memory, and can be slow. It does a lot.
Sometimes you don't need all of that overhead if you just want to parse a Perl document.
I've written a pure-Perl replacement that implements the barest minimum useful features in the hopes that it will be much more useful to people who want to parse Perl but can't afford the kilobytes of disk space it takes to do the job correctly. Until the CPAN mirrors sync, download PPI::Tiny from my own site.
Be sure to read the documentation carefully; I think I've listed every spot where it doesn't behave exactly like its heavyweight older brother accurately, but I might have missed a few. (In reality, there are only three or four, I believe. I might add those later.)