develooper Front page | perl.perl5.porters | Postings from September 2012

Module API (Was: Re: Taking CPANPLUS out of core)

Thread Previous | Thread Next
Johan Vromans
September 29, 2012 13:10
Module API (Was: Re: Taking CPANPLUS out of core)
Message ID:
David Golden <> writes:

> I favor keeping Module::Loaded (along with Module::Load::Conditional
> and Module::Load). Having a nice core API to do the sort of thing
> people often screw up messing with %INC or eval/requires make sense.

I've always hated the fact that Module::Loaded and friends duplicate the
code that Perl already has internally. A 'nice core API' would be a
simple XS wrapper to the perl internal functions.

It might also prevent surprises. For example, if provides
packages Foo and Bar, Module::Loaded will only report a result for Foo
and not for Bar.

-- Johan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About