X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction.pm;h=b5871ee0b7543ded3a2757d094d7849bf34f7d12;hb=173de3edebf45d0dd2b92258aef42eb9212a9014;hp=881c120e8dbd126fec459affddbc88704e51583a;hpb=342d21698a97962c51114b6ebc6bb8626511cfc6;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Action.pm b/lib/Catalyst/Action.pm index 881c120..b5871ee 100644 --- 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, } }