Acme-CPANModules-AliasingModuleName
view release on metacpan or search on metacpan
lib/Acme/CPANModules/AliasingModuleName.pm view on Meta::CPAN
package Acme::CPANModules::AliasingModuleName;
use strict;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2022-03-08'; # DATE
our $DIST = 'Acme-CPANModules-AliasingModuleName'; # DIST
our $VERSION = '0.002'; # VERSION
our $LIST = {
summary => 'List of modules to alias a (long) module name to another (shorter) name',
tags => ['task'],
entries => [
{
module=>'Package::Alias',
},
{
module=>'alias::module',
description => <<'_',
I used to use <pm:Package::Alias> but later I created <pm:alias::module> that is
more lightweight (avoids using <pm:Carp>) and has a simpler interface.
_
},
{
module=>'abbreviation',
},
],
};
1;
# ABSTRACT: List of modules to alias a (long) module name to another (shorter) name
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::CPANModules::AliasingModuleName - List of modules to alias a (long) module name to another (shorter) name
=head1 VERSION
This document describes version 0.002 of Acme::CPANModules::AliasingModuleName (from Perl distribution Acme-CPANModules-AliasingModuleName), released on 2022-03-08.
=head1 ACME::CPANMODULES ENTRIES
=over
=item * L<Package::Alias> - Alias one namespace as another
Author: L<JOSHUA|https://metacpan.org/author/JOSHUA>
=item * L<alias::module> - Alias one module as another
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
I used to use L<Package::Alias> but later I created L<alias::module> that is
more lightweight (avoids using L<Carp>) and has a simpler interface.
=item * L<abbreviation> - Perl pragma to abbreviate class names
Author: L<MIYAGAWA|https://metacpan.org/author/MIYAGAWA>
=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 AliasingModuleName
Alternatively you can use the L<cpanmodules> CLI (from L<App::cpanmodules>
distribution):
% cpanmodules ls-entries AliasingModuleName | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=AliasingModuleName -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::AliasingModuleName -E'say $_->{module} for @{ $Acme::CPANModules::AliasingModuleName::LIST->{entries} }' | cpanm -n
( run in 0.758 second using v1.01-cache-2.11-cpan-3d66aa2751a )