use MooseX::Getopt;
use namespace::autoclean;
-with 'MooseX::Getopt';
+with 'MooseX::Getopt' => {
+ excludes => [qw/
+ _getopt_spec_warnings
+ _getopt_spec_exception
+ /],
+};
has application_name => (
traits => ['NoGetopt'],
documentation => q{Display this help and exit},
);
+sub _getopt_spec_exception {}
+
+sub _getopt_spec_warnings {
+ shift;
+ warn @_;
+}
+
sub _exit_with_usage {
my $self = shift;
pod2usage();