23 lines
427 B
Perl
23 lines
427 B
Perl
#!perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
# PODNAME: moose-outdated
|
|
|
|
# this script was generated with Dist::Zilla::Plugin::Conflicts 0.19
|
|
|
|
use Getopt::Long;
|
|
use Moose::Conflicts;
|
|
|
|
my $verbose;
|
|
GetOptions( 'verbose|v' => \$verbose );
|
|
|
|
if ($verbose) {
|
|
Moose::Conflicts->check_conflicts;
|
|
}
|
|
else {
|
|
my @conflicts = Moose::Conflicts->calculate_conflicts;
|
|
print "$_\n" for map { $_->{package} } @conflicts;
|
|
exit @conflicts;
|
|
}
|