system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Direktori : /bin/ |
|
Current File : //bin/package-stash-conflicts |
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
use strict;
use warnings;
# PODNAME: package-stash-conflicts
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;
}