—use
5.008;
# utf8
use
strict;
use
warnings;
use
utf8;
package
CPAN::Meta::Prereqs::Diff::Removal;
our
$VERSION
=
'0.001001'
;
# ABSTRACT: An unneeded dependency
our
$AUTHORITY
=
'cpan:KENTNL'
;
# AUTHORITY
has
'requirement'
=> (
is
=>
ro
=>,
required
=> 1 );
sub
is_addition { }
sub
is_removal {
return
1 }
sub
is_change { }
sub
describe {
my
(
$self
) =
@_
;
return
sprintf
q[%s.%s: -%s %s]
,
$self
->phase,
$self
->type,
$self
->module,
$self
->requirement;
}
no
Moo;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
CPAN::Meta::Prereqs::Diff::Removal - An unneeded dependency
=head1 VERSION
version 0.001001
=head1 METHODS
=head2 C<is_addition>
=head2 C<is_removal>
returns true
=head2 C<is_change>
=head2 C<describe>
$object->describe();
# runtime.requires: -ExtUtils::MakeMaker 5.0
=head1 ATTRIBUTES
=head2 C<requirement>
=head1 AUTHOR
Kent Fredric <kentfredric@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
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