Станислав Пусеп > Acme-TLDR-0.001 > Acme::TLDR

Download:
Acme-TLDR-0.001.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.001   Source   Latest Release: Acme-TLDR-0.004

NAME ^

Acme::TLDR - Abbreviate Perl namespace

VERSION ^

version 0.001

SYNOPSIS ^

    #!/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";

DESCRIPTION ^

This module is heavily inspired on the shortener module proposal by Fernando Correa de Oliveira, albeit it operates in a completely distinct way.

ENVIRONMENT VARIABLES ^

CAVEAT ^

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.

SEE ALSO ^

AUTHOR ^

Stanislaw Pusep <stas@sysd.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 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.

syntax highlighting: