projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ff2b698
)
dont autovivify
John Napiorkowski [Wed, 25 Mar 2015 16:38:46 +0000 (11:38 -0500)]
lib/Catalyst/Action.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Action.pm
b/lib/Catalyst/Action.pm
index
881c120
..
b5871ee
100644
(file)
--- a/
lib/Catalyst/Action.pm
+++ b/
lib/Catalyst/Action.pm
@@
-110,7
+110,7
@@
sub scheme {
sub list_extra_info {
my $self = shift;
return {
- Args => $self->attributes->{Args}[0],
+ Args => exists $self->attributes->{Args} ? $self->attributes->{Args}[0] : undef,
CaptureArgs => $self->number_of_captures,
}
}