Thanks tye, this is really great.
in reply to exports -- which module exports are used?
Now, just thinking about the next step...
I noticed in your examples that it sometimes matches export identifiers that are in comments, e.g.,
1867: # S() = max call duration in seconds
In this case it's not even valid code. I'm wondering if there's a more robust approach, perhaps using B::Deparse or the like? Granted, that will probably be an order of magnitude more work, and it would really deserve a CPAN home. (And I'm probably not the one to do it =)
Quantum Mechanics: The dreams stuff is made of