via { ensure_class_loaded($_); 1 };
with 'MooseX::Getopt' => {
+ -version => 0.48,
-excludes => [qw/
_getopt_spec_warnings
_getopt_spec_exception
- _getopt_full_usage
+ print_usage_text
/],
};
warn @_;
}
-sub _getopt_full_usage {
+sub print_usage_text {
my $self = shift;
pod2usage();
exit 0;
The method invoked to run the application.
+=head2 print_usage_text
+
+Prints out the usage text for the script you tried to invoke.
+
=head1 ATTRIBUTES
=head2 application_name