Acme-CPANModules-Unbless
view release on metacpan or search on metacpan
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030.
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/Acme/CPANModules/Unbless.pm
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini
{
"abstract" : "List of modules to unbless a reference",
"author" : [
"perlancar <perlancar@cpan.org>"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : 2
},
"name" : "Acme-CPANModules-Unbless",
"prereqs" : {
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
"requires" : {
"Pod::Coverage::TrustPod" : "0",
"Test::Perl::Critic" : "0",
},
"x_mentions" : {
"x_mentions" : {
"Acme::Damn" : "0",
"Data::Structure::Util" : "0",
"Function::Fallback::CoreOrPP" : "0"
}
}
},
"provides" : {
"Acme::CPANModules::Unbless" : {
"file" : "lib/Acme/CPANModules/Unbless.pm",
"version" : "0.002"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Unbless"
},
"homepage" : "https://metacpan.org/release/Acme-CPANModules-Unbless",
"repository" : {
"type" : "git",
"url" : "git://github.com/perlancar/perl-Acme-CPANModules-Unbless.git",
"web" : "https://github.com/perlancar/perl-Acme-CPANModules-Unbless"
}
},
"version" : "0.002",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.038000"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Acme::CPANModules",
---
abstract: 'List of modules to unbless a reference'
author:
- 'perlancar <perlancar@cpan.org>'
build_requires:
File::Spec: '0'
IO::Handle: '0'
IPC::Open3: '0'
Test::More: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Acme-CPANModules-Unbless
provides:
Acme::CPANModules::Unbless:
file: lib/Acme/CPANModules/Unbless.pm
version: '0.002'
requires:
strict: '0'
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Unbless
homepage: https://metacpan.org/release/Acme-CPANModules-Unbless
repository: git://github.com/perlancar/perl-Acme-CPANModules-Unbless.git
version: '0.002'
x_Dist_Zilla:
perl:
version: '5.038000'
plugins:
-
class: Dist::Zilla::Plugin::Acme::CPANModules
name: Acme::CPANModules
version: '0.005'
-
Makefile.PL view on Meta::CPAN
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030.
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "List of modules to unbless a reference",
"AUTHOR" => "perlancar <perlancar\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Acme-CPANModules-Unbless",
"LICENSE" => "perl",
"NAME" => "Acme::CPANModules::Unbless",
"PREREQ_PM" => {
"strict" => 0
},
"TEST_REQUIRES" => {
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::More" => 0
},
"VERSION" => "0.002",
NAME
Acme::CPANModules::Unbless - List of modules to unbless a reference
VERSION
This document describes version 0.002 of Acme::CPANModules::Unbless
(from Perl distribution Acme-CPANModules-Unbless), released on
2023-10-31.
DESCRIPTION
Blessing a reference is easy with bless() but surprisingly (or
unsurprisingly?) unblessing a blessed reference is not as simple.
Currently you can use the unbless() function from Data::Structure::Util
or damn() from Acme::Damn (which is a slimmer module if you just need
unblessing feature). Both are XS modules. If you need a pure-Perl
solution, currently you're out of luck. Function::Fallback::CoreOrPP
provides unbless() where the fallback option is shallow copying.
ACME::CPANMODULES ENTRIES
Data::Structure::Util
Author: ANDYA <https://metacpan.org/author/ANDYA>
Acme::Damn
Author: IBB <https://metacpan.org/author/IBB>
Function::Fallback::CoreOrPP
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
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 Acme::CPANModules for more
details.
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 cpanm-cpanmodules
script (from App::cpanm::cpanmodules distribution):
% cpanm-cpanmodules -n Unbless
Alternatively you can use the cpanmodules CLI (from App::cpanmodules
distribution):
% cpanmodules ls-entries Unbless | cpanm -n
or Acme::CM::Get:
% perl -MAcme::CM::Get=Unbless -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Unbless -E'say $_->{module} for @{ $Acme::CPANModules::Unbless::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps lcpan produce a more meaningful
result for "lcpan related-mods" command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module. See
App::lcpan::Cmd::related_mods for more details on how "related modules"
are found.
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/Acme-CPANModules-Unbless>.
SOURCE
Source repository is at
<https://github.com/perlancar/perl-Acme-CPANModules-Unbless>.
SEE ALSO
Acme::CPANModules - about the Acme::CPANModules namespace
cpanmodules - CLI tool to let you browse/view the lists
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
;---------------------------------
author = perlancar <perlancar@cpan.org>
copyright_holder = perlancar <perlancar@cpan.org>
license = Perl_5
;---------------------------------
version=0.002
name=Acme-CPANModules-Unbless
[Acme::CPANModules]
[@Author::PERLANCAR]
:version=0.608
[Prereqs]
strict=0
[Prereqs / DevelopX_spec]
lib/Acme/CPANModules/Unbless.pm view on Meta::CPAN
package Acme::CPANModules::Unbless;
use strict;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-10-31'; # DATE
our $DIST = 'Acme-CPANModules-Unbless'; # DIST
our $VERSION = '0.002'; # VERSION
our $LIST = {
summary => 'List of modules to unbless a reference',
description => <<'_',
Blessing a reference is easy with `bless()` but surprisingly (or
unsurprisingly?) unblessing a blessed reference is not as simple. Currently you
can use the `unbless()` function from <pm:Data::Structure::Util> or `damn()`
from <pm:Acme::Damn> (which is a slimmer module if you just need unblessing
feature). Both are XS modules. If you need a pure-Perl solution, currently
you're out of luck. <pm:Function::Fallback::CoreOrPP> provides `unbless()` where
the fallback option is shallow copying.
_
entries => [
{
module => 'Data::Structure::Util',
},
{
module => 'Acme::Damn',
},
{
module => 'Function::Fallback::CoreOrPP',
},
],
};
1;
# ABSTRACT: List of modules to unbless a reference
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::CPANModules::Unbless - List of modules to unbless a reference
=head1 VERSION
This document describes version 0.002 of Acme::CPANModules::Unbless (from Perl distribution Acme-CPANModules-Unbless), released on 2023-10-31.
=head1 DESCRIPTION
Blessing a reference is easy with C<bless()> but surprisingly (or
unsurprisingly?) unblessing a blessed reference is not as simple. Currently you
can use the C<unbless()> function from L<Data::Structure::Util> or C<damn()>
from L<Acme::Damn> (which is a slimmer module if you just need unblessing
feature). Both are XS modules. If you need a pure-Perl solution, currently
you're out of luck. L<Function::Fallback::CoreOrPP> provides C<unbless()> where
the fallback option is shallow copying.
=head1 ACME::CPANMODULES ENTRIES
=over
=item L<Data::Structure::Util>
Author: L<ANDYA|https://metacpan.org/author/ANDYA>
lib/Acme/CPANModules/Unbless.pm view on Meta::CPAN
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 Unbless
Alternatively you can use the L<cpanmodules> CLI (from L<App::cpanmodules>
distribution):
% cpanmodules ls-entries Unbless | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=Unbless -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Unbless -E'say $_->{module} for @{ $Acme::CPANModules::Unbless::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
are found.
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/Acme-CPANModules-Unbless>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-Acme-CPANModules-Unbless>.
=head1 SEE ALSO
L<Acme::CPANModules> - about the Acme::CPANModules namespace
L<cpanmodules> - CLI tool to let you browse/view the lists
=head1 AUTHOR
perlancar <perlancar@cpan.org>
lib/Acme/CPANModules/Unbless.pm view on Meta::CPAN
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2023, 2019 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Unbless>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=cut
t/00-compile.t view on Meta::CPAN
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'Acme/CPANModules/Unbless.pm'
);
# no fake home requested
my @switches = (
-d 'blib' ? '-Mblib' : '-Ilib',
);
t/author-critic.t view on Meta::CPAN
}
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/Unbless.pm'];
unless ($filenames && @$filenames) {
$filenames = -d "blib" ? ["blib"] : ["lib"];
}
all_critic_ok(@$filenames);
( run in 0.891 second using v1.01-cache-2.11-cpan-de7293f3b23 )