2012/2/16 David Schmidt <[email protected]>

> If you start your app in debug mode you get a list of all actions.
>
>
I'd rather have the list generated automatically, not to forget any action
;)


> or ...
>
>  12 my @controllers = map { $app->controller($_) } $app->controllers;
>  13 for my $controller (@controllers) {
>  14     my @actions = $controller->get_action_methods;
>  15     say $_->name . ': ' . join(',', @{$_->attributes}) for @actions;
>  16 }
>
>
This is perfect!

Thanks so much!

cheers

paolino
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to