This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Detecting Perl Core Modules Should Be Easy =head1 VERSION Maintainer: Leon Brocard <[EMAIL PROTECTED]> Date: 25 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 291 Version: 1 Status: Developing =head1 ABSTRACT In Perl6 it should be easy to see to check whether any particular module comes from the Perl core or not. =head1 DESCRIPTION Randy J. Ray or Tim Bunce mentions the following in the Devel::Modlist documentation: "Suppress the display of those modules that are a part of the Perl core. This is dependent on the Perl private library area not being an exact substring of the site-dependent library. The build process checks this for you prior to install." I'd suggest that just like the version of a module being useful, and hence available as, say $Devel::Modlist::VERSION, the fact that a module is currently in the Perl core is an important fact to know and should be available as, perhaps: $Devel::Modlist::CORE. The actual name chosen, or even the way this is done, is open to discussion. This feature will be useful for quite a number of uses, including doing lots of meta-module stuff like Devel::Modlist. =head1 IMPLEMENTATION If followed as above, we would simply have the package variable $CORE set to be true in all modules in the Perl standard library. Converting perl5 to perl6 would have to make sure that any $CORE variables need to be translated to another name. =head1 REFERENCES None.