I'm still lagging behind the discussion, but I wanted to point out that there is work on something similar:
http://www.officevision.com/pub/Devel-Metadata/htdocs/Devel-Metadata.html Devel::Metadata - programmatic access to metadata for Perl code (Distributions, Modules, Classes, Methods, etc.) -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net