Acme-CPANModules-ModuleAutoloaders

 view release on metacpan or  search on metacpan

lib/Acme/CPANModules/ModuleAutoloaders.pm  view on Meta::CPAN

package Acme::CPANModules::ModuleAutoloaders;

use strict;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-11-20'; # DATE
our $DIST = 'Acme-CPANModules-ModuleAutoloaders'; # DIST
our $VERSION = '0.003'; # VERSION

our $LIST = {
    summary => 'List of modules that autoload other modules',
    description => <<'_',

"Module autoloader" modules work using Perl's autoloading mechanism (read
`perlsub` for more details). By declaring a subroutine named `AUTOLOAD` in the
`UNIVERSAL` package, you setup a fallback mechanism when you call an undefined
subroutine. The module autoloader's's AUTOLOADER loads the module using e.g.
<pm:Module::Load> or plain `require()` then try to invoke the undefined
subroutine once again.

These modules are usually convenient for one-liner usage.

_
    entries => [
        {module => 'L'},
        {module => 'Class::Autouse'},
    ],
};

1;
# ABSTRACT: List of modules that autoload other modules

__END__

=pod

=encoding UTF-8

=head1 NAME

Acme::CPANModules::ModuleAutoloaders - List of modules that autoload other modules

=head1 VERSION

This document describes version 0.003 of Acme::CPANModules::ModuleAutoloaders (from Perl distribution Acme-CPANModules-ModuleAutoloaders), released on 2023-11-20.

=head1 DESCRIPTION

"Module autoloader" modules work using Perl's autoloading mechanism (read
C<perlsub> for more details). By declaring a subroutine named C<AUTOLOAD> in the
C<UNIVERSAL> package, you setup a fallback mechanism when you call an undefined
subroutine. The module autoloader's's AUTOLOADER loads the module using e.g.
L<Module::Load> or plain C<require()> then try to invoke the undefined
subroutine once again.

These modules are usually convenient for one-liner usage.

=head1 ACME::CPANMODULES ENTRIES

=over

=item L<L>

Author: L<SONGMU|https://metacpan.org/author/SONGMU>

=item L<Class::Autouse>

Author: L<ADAMK|https://metacpan.org/author/ADAMK>

=back

=head1 FAQ

=head2 What is an Acme::CPANModules::* module?

An Acme::CPANModules::* module, like this module, contains just a list of module
names that share a common characteristics. It is a way to categorize modules and
document CPAN. See L<Acme::CPANModules> for more details.

=head2 What are ways to use this Acme::CPANModules module?

Aside from reading this Acme::CPANModules module's POD documentation, you can
install all the listed modules (entries) using L<cpanm-cpanmodules> script (from
L<App::cpanm::cpanmodules> distribution):

 % cpanm-cpanmodules -n ModuleAutoloaders

Alternatively you can use the L<cpanmodules> CLI (from L<App::cpanmodules>
distribution):

    % cpanmodules ls-entries ModuleAutoloaders | cpanm -n

or L<Acme::CM::Get>:

    % perl -MAcme::CM::Get=ModuleAutoloaders -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

or directly:



( run in 1.500 second using v1.01-cache-2.11-cpan-3d66aa2751a )