projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Factor restarter arg assembly out into it's own routine for ease of testing. Use...
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Script
/
Create.pm
diff --git
a/lib/Catalyst/Script/Create.pm
b/lib/Catalyst/Script/Create.pm
index
361aa26
..
e65a597
100644
(file)
--- a/
lib/Catalyst/Script/Create.pm
+++ b/
lib/Catalyst/Script/Create.pm
@@
-34,7
+34,7
@@
has helper_class => ( isa => 'Str', is => 'ro', default => 'Catalyst::Helper' );
sub run {
my ($self) = @_;
- $self->_exit_with_usage if !$ARGV[0];
+ $self->_exit_with_usage if !$self->ARGV->[0];
my $helper_class = $self->helper_class;
Class::MOP::load_class($helper_class);