#!/usr/bin/perl
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;
}
__END__
=pod
=head1 NAME
package-stash-conflicts
=head1 VERSION
version 0.35
=head1 AUTHOR
Jesse Luehrs <doy@tozt.net>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 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