NAME
Acme::CPANLists::PERLANCAR::Avoided - Modules I'm currently avoiding
VERSION
This document describes version 0.20 of Acme::CPANLists::PERLANCAR::Avoided (from Perl distribution Acme-CPANLists-PERLANCAR), released on 2017-05-30.
MODULE LISTS
Modules I'm currently avoiding
This is a list of modules I'm currently avoiding to use in my code, for some reason. Most of the modules wered used in my code in the past.
Using a Dist::Zilla plugin Dist::Zilla::Plugin::Acme::CPANLists::Blacklist, you can make sure that during building, your distribution does not specify a prerequisite to any of the modules listed here. (You should make your own blacklist though).
Log::Any - Startup overhead
After the 1.x version, I no longer prefer Log::Any and am developing an alternative called Log::Gurat.
Alternate modules: Log::Gurat
File::Flock - Too many deps
I used to use File::Flock due to its simple interface. However, this module depends on things like AnyEvent, Data::Structure::Util, File::Slurp, et al, all of which seem unnecessary. Nowadays I'm opting to use File::Flock::Retry, or just plain
flock()
.Alternate modules: File::Flock::Retry
File::Slurp - Buggy
Alternate modules: File::Slurper
File::Slurp::Tiny - Use the newer File::Slurper instead
Alternate modules: File::Slurper
Exporter::Lite - Unnecessary, use Exporter instead
I used to use this module because I didn't know that Exporter (since perl 5.8.3, 2004) can also be used without subclassing, i.e. instead of:
use Exporter; our @ISA = qw(Exporter); our @EXPORT = (...);
you can also use it like this:
use Exporter qw(import); our @EXPORT = (...);
Hence, this module (first released in 2001) is no longer necessary. Besides, this module has a worse startup overhead than Exporter and has less features. So there is absolutely no reason to use it.
Alternate modules: Exporter
JSON - Somewhat broken
JSON.pm is a discouraged module now, due to its somewhat broken backend handling and lack of support for Cpanel::JSON::XS. consider switching to JSON::MaybeXS or perhaps just JSON::PP.
Alternate modules: JSON::MaybeXS, JSON::PP, Cpanel::JSON::XS
-
Cpanel::JSON::XS is the fork of JSON::XS that fixes some bugs and adds some features, mainly so it's more compatible with JSON::PP. See the documentation of Cpanel::JSON::XS for more details on those.
Alternate modules: Cpanel::JSON::XS
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Acme-CPANLists-PERLANCAR.
SOURCE
Source repository is at https://github.com/perlancar/perl-Acme-CPANLists-PERLANCAR.
BUGS
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.
SEE ALSO
Acme::CPANLists - about the Acme::CPANLists namespace
acme-cpanlists - CLI tool to let you browse/view the lists
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
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.