some apache versions where %ENV{SCRIPT_NAME} is set to the real name of
the script, by using $ENV{REDIRECT_URL} which contains the non-rewritten
URI.
+ - Fix usage display when myapp_create.pl is run with no arguments. RT#52630
New features:
- The __MOP__ hash element is suppressed from being dumped fully
sub run {
my ($self) = @_;
- $self->_exit_with_usage if !$self->ARGV->[0];
+ $self->_getopt_full_usage if !$self->ARGV->[0];
my $helper_class = $self->helper_class;
Class::MOP::load_class($helper_class);
my $helper = $helper_class->new( { '.newfiles' => !$self->force, mech => $self->mechanize } );
- $self->_exit_with_usage unless $helper->mk_component( $self->application_name, @ARGV );
+ $self->_getopt_full_usage unless $helper->mk_component( $self->application_name, @ARGV );
}