Acme-CPANLists-PERLANCAR

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

          ArrayClassBuilder.


0.14    2016-03-16 (PERLANCAR)

	- Retired: Mention Carp::Always to boost its 'lcpan related-mods
          Carp::Always' ranking.

	- Avoided: Add more note about Exporter::Lite.

	- Add module lists: MagicVariableTechniques, Unbless, Weird.


0.13    2016-03-09 (PERLANCAR)

	- Wording/grammar.

	- [Bugfix] Fix wrong file name for
	  ::Task::PickingRandomLinesFromFile.


MANIFEST  view on Meta::CPAN

lib/Acme/CPANLists/PERLANCAR/MagicVariableTechnique.pm
lib/Acme/CPANLists/PERLANCAR/MooseStyleClassBuilder.pm
lib/Acme/CPANLists/PERLANCAR/MyGetoptLongExperiment.pm
lib/Acme/CPANLists/PERLANCAR/NonMooseStyleClassBuilder.pm
lib/Acme/CPANLists/PERLANCAR/OneLetter.pm
lib/Acme/CPANLists/PERLANCAR/Retired.pm
lib/Acme/CPANLists/PERLANCAR/Task/CheckingModuleInstalledLoadable.pm
lib/Acme/CPANLists/PERLANCAR/Task/GettingTempDir.pm
lib/Acme/CPANLists/PERLANCAR/Task/PickingRandomLinesFromFile.pm
lib/Acme/CPANLists/PERLANCAR/Task/WorkingWithTree.pm
lib/Acme/CPANLists/PERLANCAR/Unbless.pm
lib/Acme/CPANLists/PERLANCAR/UpsideDownTextWithUnicode.pm
lib/Acme/CPANLists/PERLANCAR/Weird.pm
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini

lib/Acme/CPANLists/PERLANCAR/Unbless.pm  view on Meta::CPAN

package Acme::CPANLists::PERLANCAR::Unbless;

our $DATE = '2017-09-08'; # DATE
our $VERSION = '0.26'; # VERSION

our @Module_Lists = (
    {
        summary => 'Unblessing 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: Unblessing a reference

__END__

=pod

=encoding UTF-8

=head1 NAME

Acme::CPANLists::PERLANCAR::Unbless - Unblessing a reference

=head1 VERSION

This document describes version 0.26 of Acme::CPANLists::PERLANCAR::Unbless (from Perl distribution Acme-CPANLists-PERLANCAR), released on 2017-09-08.

=head1 MODULE LISTS

=head2 Unblessing a reference

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.


=over

=item * L<Data::Structure::Util>

=item * L<Acme::Damn>

=item * L<Function::Fallback::CoreOrPP>

t/00-compile.t  view on Meta::CPAN

    'Acme/CPANLists/PERLANCAR/MagicVariableTechnique.pm',
    'Acme/CPANLists/PERLANCAR/MooseStyleClassBuilder.pm',
    'Acme/CPANLists/PERLANCAR/MyGetoptLongExperiment.pm',
    'Acme/CPANLists/PERLANCAR/NonMooseStyleClassBuilder.pm',
    'Acme/CPANLists/PERLANCAR/OneLetter.pm',
    'Acme/CPANLists/PERLANCAR/Retired.pm',
    'Acme/CPANLists/PERLANCAR/Task/CheckingModuleInstalledLoadable.pm',
    'Acme/CPANLists/PERLANCAR/Task/GettingTempDir.pm',
    'Acme/CPANLists/PERLANCAR/Task/PickingRandomLinesFromFile.pm',
    'Acme/CPANLists/PERLANCAR/Task/WorkingWithTree.pm',
    'Acme/CPANLists/PERLANCAR/Unbless.pm',
    'Acme/CPANLists/PERLANCAR/UpsideDownTextWithUnicode.pm',
    'Acme/CPANLists/PERLANCAR/Weird.pm'
);



# no fake home requested

my @switches = (
    -d 'blib' ? '-Mblib' : '-Ilib',



( run in 0.491 second using v1.01-cache-2.11-cpan-de7293f3b23 )