Acme::CPANLists::PERLANCAR::Unbless - Unblessing a reference
This document describes version 0.22 of Acme::CPANLists::PERLANCAR::Unbless (from Perl distribution Acme-CPANLists-PERLANCAR), released on 2017-06-19.
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.
bless()
unbless()
damn()
Data::Structure::Util
Acme::Damn
Function::Fallback::CoreOrPP
Please visit the project's homepage at https://metacpan.org/release/Acme-CPANLists-PERLANCAR.
Source repository is at https://github.com/perlancar/perl-Acme-CPANLists-PERLANCAR.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANLists-PERLANCAR
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.
Acme::CPANLists - about the Acme::CPANLists namespace
acme-cpanlists - CLI tool to let you browse/view the lists
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017, 2016, 2015 by 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.
To install Acme::CPANLists::PERLANCAR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::CPANLists::PERLANCAR
CPAN shell
perl -MCPAN -e shell install Acme::CPANLists::PERLANCAR
For more information on module installation, please visit the detailed CPAN module installation guide.