Acme-CPANModules-ModuleAutoloaders
view release on metacpan or search on metacpan
":PerlExecFiles"
],
"skips" : [],
"switch" : []
}
},
"name" : "@Author::PERLANCAR/Test::Compile",
"version" : "2.058"
},
{
"class" : "Dist::Zilla::Plugin::Test::Perl::Critic::Subset",
"config" : {
"Dist::Zilla::Plugin::Test::Perl::Critic::Subset" : {
"finder" : [
":ExecFiles",
":InstallModules",
":TestFiles"
]
}
},
"name" : "@Author::PERLANCAR/Test::Perl::Critic::Subset",
"version" : "3.001.006"
},
{
"class" : "Dist::Zilla::Plugin::Test::Rinci",
"name" : "@Author::PERLANCAR/Test::Rinci",
"version" : "0.040"
},
{
"class" : "Dist::Zilla::Plugin::StaticInstall",
"config" : {
- ':InstallModules'
needs_display: 0
phase: test
script_finder:
- ':PerlExecFiles'
skips: []
switch: []
name: '@Author::PERLANCAR/Test::Compile'
version: '2.058'
-
class: Dist::Zilla::Plugin::Test::Perl::Critic::Subset
config:
Dist::Zilla::Plugin::Test::Perl::Critic::Subset:
finder:
- ':ExecFiles'
- ':InstallModules'
- ':TestFiles'
name: '@Author::PERLANCAR/Test::Perl::Critic::Subset'
version: 3.001.006
-
class: Dist::Zilla::Plugin::Test::Rinci
name: '@Author::PERLANCAR/Test::Rinci'
version: '0.040'
-
class: Dist::Zilla::Plugin::StaticInstall
config:
Dist::Zilla::Plugin::StaticInstall:
dry_run: 0
other modules
VERSION
This document describes version 0.003 of
Acme::CPANModules::ModuleAutoloaders (from Perl distribution
Acme-CPANModules-ModuleAutoloaders), released on 2023-11-20.
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. Module::Load or plain require()
then try to invoke the undefined subroutine once again.
These modules are usually convenient for one-liner usage.
ACME::CPANMODULES ENTRIES
L Author: SONGMU <https://metacpan.org/author/SONGMU>
Class::Autouse
lib/Acme/CPANModules/ModuleAutoloaders.pm view on Meta::CPAN
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'},
lib/Acme/CPANModules/ModuleAutoloaders.pm view on Meta::CPAN
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
t/author-critic.t view on Meta::CPAN
unless ($ENV{AUTHOR_TESTING}) {
print qq{1..0 # SKIP these tests are for testing by the author\n};
exit
}
}
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::Perl::Critic::Subset 3.001.006
use Test::Perl::Critic (-profile => "") x!! -e "";
my $filenames = ['lib/Acme/CPANModules/ModuleAutoloaders.pm'];
unless ($filenames && @$filenames) {
$filenames = -d "blib" ? ["blib"] : ["lib"];
}
all_critic_ok(@$filenames);
( run in 1.410 second using v1.01-cache-2.11-cpan-49f99fa48dc )