Acme::TLDR - Abbreviate Perl namespaces for the Extreme Perl Golf
version 0.004
#!/usr/bin/env perl use strict; use warnings; use Acme::TLDR; use D::D; # Data::Dump use D::MD5; # Digest::MD5 use DT; # DateTime use HTTP::T; # HTTP::Tiny print DT->now, "\n"; my $ua = HTTP::T->new; my $res = $ua->get('http://ifconfig.me/all'); dd $res; my $md5 = D::MD5->new; $md5->add($res->{content}); print $md5->hexdigest, "\n";
This module is heavily inspired on the shortener module proposal by Fernando Correa de Oliveira, albeit it operates in a completely distinct way.
DEBUG - when set, dump the internals status (most importantly, the long <=> short name mapping;
DEBUG
NOCACHE - when set, no persistent cache is saved.
NOCACHE
To reduce loading time (ExtUtils::Installed->new->modules is too damn slow), an installed module cache is initialized upon Acme::TLDR start. It is updated when the perllocal.pod file of the used Perl version gets a modified time more recent than the cache file itself.
ExtUtils::Installed->new->modules
App::p
L
Stanislaw Pusep <stas@sysd.org>
This software is copyright (c) 2014 by Stanislaw Pusep.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Sergey Romanov <sromanov-dev@yandex.ru>
To install Acme::TLDR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::TLDR
CPAN shell
perl -MCPAN -e shell install Acme::TLDR
For more information on module installation, please visit the detailed CPAN module installation guide.