Group
Extension

Dist-Zilla-Plugin-Prereqs-DarkPAN/lib/Dist/Zilla/Role/PrereqSource/External.pm

use 5.006;    # our
use strict;
use warnings;

package Dist::Zilla::Role::PrereqSource::External;

our $VERSION = 'v0.3.0';

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

# FILENAME: External.pm
# CREATED: 30/10/11 10:56:47 by Kent Fredric (kentnl) <kentfredric@gmail.com>
# ABSTRACT: A plugin that depends on DarkPAN/External sources

use Moose::Role qw( with requires around );
with 'Dist::Zilla::Role::Plugin';













use namespace::autoclean;

requires 'register_external_prereqs';

around dump_config => sub {
  my ( $orig, $self, @args ) = @_;
  my $config = $self->$orig(@args);
  $config->{ +__PACKAGE__ }->{ q[$] . __PACKAGE__ . q[::VERSION] } = $VERSION;
  return $config;
};

no Moose::Role;
1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Dist::Zilla::Role::PrereqSource::External - A plugin that depends on DarkPAN/External sources

=head1 VERSION

version v0.3.0

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Dist::Zilla::Role::PrereqSource::External",
    "interface":"role",
    "does":"Dist::Zilla::Role::Plugin"
}


=end MetaPOD::JSON

=head1 AUTHOR

Kent Fredric <kentnl@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric <kentnl@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.

=cut


Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.