jeffthewookiee has asked for the wisdom of the Perl Monks concerning the following question:

I've been working with a Bundle::Snapshot generated with CPAN's handy autobundle command. I'm running into a lot of modules in the inventory it produces that are in all lowercase... They have names like 'charnames', 'open', and 'vmsish' and seem to be core Perl modules... Can someone explain to me what the all lowercase CPAN module name designates? Are these indeed core Perl modules that aren't CPAN modules in the same way that ThirdParty::Module style CPAN modules are?
  • Comment on CPAN Autobundle and Lowercase CPAN Modules

Replies are listed 'Best First'.
Re: CPAN Autobundle and Lowercase CPAN Modules
by ikegami (Patriarch) on Nov 07, 2011 at 22:02 UTC

    By convention, modules with lowercase names are typically "pragma" modules. Pragmas are loosely defined to be modules that affect Perl's behaviour. Their effect is usually lexically scoped.

    Perl itself comes with many (including the three you listed), but there are some on CPAN aren't part of the Perl distribution (e.g. feature::qw_comments).

Re: CPAN Autobundle and Lowercase CPAN Modules
by toolic (Bishop) on Nov 07, 2011 at 22:01 UTC
    They have names like 'charnames', 'open', and 'vmsish' and seem to be core Perl modules
    They are Core pragmas.
    Can someone explain to me what the all lowercase CPAN module name designates?
    From perlmod...
    Module names are also capitalized unless they're functioning as pragmas; pragmas are in effect compiler directives, and are sometimes called "pragmatic modules" (or even "pragmata" if you're a classicist).
Re: CPAN Autobundle and Lowercase CPAN Modules
by ansh batra (Friar) on Nov 08, 2011 at 05:03 UTC
    this might help you!!!
Re: CPAN Autobundle and Lowercase CPAN Modules
by jeffthewookiee (Sexton) on Nov 08, 2011 at 13:03 UTC
    Thanks folks, appreciate it.