dont autovivify
John Napiorkowski [Wed, 25 Mar 2015 16:38:46 +0000 (11:38 -0500)]
lib/Catalyst/Action.pm

index 881c120..b5871ee 100644 (file)
@@ -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,
   }
 }