Re: RFC: New module 'Module::Bundled::Files'
- From: "Paul Campbell" <kemitix@xxxxxxxxx>
- Date: 27 Aug 2005 10:48:53 -0700
Thanks for the bug report.
I've changed the Exporter module syntax back to a pre perl-5.8.3 form
which looks compatible with perl-5.005 (according to the CPAN docs).
Breaking when using inheritance is a good point. I hadn't thought of
that. I think I'd rather try to add support for inheriting modules to
be able to override files. So if the specific class doesn't provide a
requested file, we would walk up the inheritance tree till, hopefully,
one is found that does.
The convenience functions aren't exported by default. use
Module::Bundled::Files 'mbf_path'; would give you the level of
namespace polution you suggest.
I'll be having a look at Tk::findINC() to see if they do anything
interesting there that I can steal.
Thanks for your comments.
.
- Follow-Ups:
- Re: RFC: New module 'Module::Bundled::Files'
- From: Paul Campbell
- Re: RFC: New module 'Module::Bundled::Files'
- References:
- RFC: New module 'Module::Bundled::Files'
- From: Paul Campbell
- Re: RFC: New module 'Module::Bundled::Files'
- From: Slaven Rezic
- RFC: New module 'Module::Bundled::Files'
- Prev by Date: Re: writing modules in 'c'
- Next by Date: Re: writing modules in 'c'
- Previous by thread: Re: RFC: New module 'Module::Bundled::Files'
- Next by thread: Re: RFC: New module 'Module::Bundled::Files'
- Index(es):