55 lines
1.0 KiB
Perl
55 lines
1.0 KiB
Perl
#!perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
# PODNAME: package-stash-conflicts
|
|
|
|
# this script was generated with Dist::Zilla::Plugin::Conflicts 0.19
|
|
|
|
use Getopt::Long;
|
|
use Package::Stash::Conflicts;
|
|
|
|
my $verbose;
|
|
GetOptions( 'verbose|v' => \$verbose );
|
|
|
|
if ($verbose) {
|
|
Package::Stash::Conflicts->check_conflicts;
|
|
}
|
|
else {
|
|
my @conflicts = Package::Stash::Conflicts->calculate_conflicts;
|
|
print "$_\n" for map { $_->{package} } @conflicts;
|
|
exit @conflicts;
|
|
}
|
|
|
|
__END__
|
|
|
|
=pod
|
|
|
|
=encoding UTF-8
|
|
|
|
=head1 NAME
|
|
|
|
package-stash-conflicts
|
|
|
|
=head1 VERSION
|
|
|
|
version 0.38
|
|
|
|
=head1 SUPPORT
|
|
|
|
Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Package-Stash>
|
|
(or L<bug-Package-Stash@rt.cpan.org|mailto:bug-Package-Stash@rt.cpan.org>).
|
|
|
|
=head1 AUTHOR
|
|
|
|
Jesse Luehrs <doy@tozt.net>
|
|
|
|
=head1 COPYRIGHT AND LICENSE
|
|
|
|
This software is copyright (c) 2018 by Jesse Luehrs.
|
|
|
|
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
|