in reply to Re: Module::Metadata
in thread Module::Metadata
Your format would require the module to be installed everywhere where you want to use the module. If you put the data into POD, then you only need some module for their extraction if you really want the metadata.Hmm, that's a good point. OTOH, if you're worried about not having the module, it's always possible to support something like this:
That way it doesn't even try to save the metadata unless the module is already loaded.eval { register Module::Metadata ... };
There's also the question of the version number. If you give Module::Metadata the version number, presumably it should set $VERSION so you can say use Module 1.0.
I haven't thought out all the implications of this, but I could provide a "micro" implementation of this module that searched for the full version elsewhere in @INC and, if it couldn't find it, just set up the version number. Such a module would be perhaps a kilobyte.
=cut
--Brent Dax
There is no sig.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Module::Metadata
by Aristotle (Chancellor) on Jan 11, 2003 at 17:24 UTC | |
by BrentDax (Hermit) on Jan 11, 2003 at 20:21 UTC |