#!/Users/mo/perl5/perlbrew/perls/perl-5.10.1/bin/perl
#
# This file is part of MooseX-Attribute-Deflator
#
# This software is Copyright (c) 2011 by Moritz Onken.
#
# This is free software, licensed under:
#
#   The (three-clause) BSD License
#

eval 'exec /Users/mo/perl5/perlbrew/perls/perl-5.10.1/bin/perl  -S $0 ${1+"$@"}'
    if 0; # not running under some shell

use strict;
use warnings;
# PODNAME: moose-outdated

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;
}
