Bot-BasicBot-Pluggable-Module-WWWShorten

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN


my $builder = Module::Build->new(
    module_name       => 'Bot::BasicBot::Pluggable::Module::WWWShorten',
    license           => 'perl',
    dist_author       => q{Mario Domgoergen <mdom@cpan.org>},
    dist_version_from => 'lib/Bot/BasicBot/Pluggable/Module/WWWShorten.pm',
    requires          => {
        'parent'                   => 0,
        'Bot::BasicBot::Pluggable' => '0.81',
        'URI::Find::Rule'          => 0,
        'Try::Tiny'                => 0,
        'Module::Load'             => 0,
        'LWP::UserAgent'           => 0,
    },
    build_requires     => { 'Test::More' => 0, },
    add_to_cleanup     => ['Bot-BasicBot-Pluggable-Module-WWWShorten-*'],
    create_makefile_pl => 'traditional',
    create_readme      => 1,
    meta_merge         => {
        resources => {
            repository =>

META.yml  view on Meta::CPAN

license: perl
resources:
  license: http://dev.perl.org/licenses/
  repository: http://github.com/mdom/bot-basicbot-pluggable-module-wwwshorten
build_requires:
  Test::More: 0
requires:
  Bot::BasicBot::Pluggable: 0.81
  LWP::UserAgent: 0
  Module::Load: 0
  Try::Tiny: 0
  URI::Find::Rule: 0
  parent: 0
configure_requires:
  Module::Build: 0.35
provides:
  Bot::BasicBot::Pluggable::Module::WWWShorten:
    file: lib/Bot/BasicBot/Pluggable/Module/WWWShorten.pm
    version: 0.03
generated_by: Module::Build version 0.35
meta-spec:

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;
WriteMakefile
(
          'PL_FILES' => {},
          'INSTALLDIRS' => 'site',
          'NAME' => 'Bot::BasicBot::Pluggable::Module::WWWShorten',
          'EXE_FILES' => [],
          'VERSION_FROM' => 'lib/Bot/BasicBot/Pluggable/Module/WWWShorten.pm',
          'PREREQ_PM' => {
                           'URI::Find::Rule' => 0,
                           'Try::Tiny' => 0,
                           'Test::More' => 0,
                           'parent' => 0,
                           'LWP::UserAgent' => 0,
                           'Module::Load' => 0,
                           'Bot::BasicBot::Pluggable' => '0.81'
                         }
        )
;

lib/Bot/BasicBot/Pluggable/Module/WWWShorten.pm  view on Meta::CPAN

package Bot::BasicBot::Pluggable::Module::WWWShorten;

use warnings;
use strict;
use parent 'Bot::BasicBot::Pluggable::Module';
use URI::Find::Rule;
use Try::Tiny;
use Module::Load;
use LWP::UserAgent;

our $VERSION = '0.03';

sub init {
    my $self = shift;
    $self->config(
        {
            user_service    => 'TinyURL',



( run in 0.265 second using v1.01-cache-2.11-cpan-05444aca049 )