NAME

Drogo::Dispatcher::Attributes

Attributes:
   Index, Action, ActionMatch, ActionRegex, Path

Synopsis

Code attributes.

sub primary  :Index                          { } # /
sub foo      :Action                         { } # /foo
sub moo      :ActionMatch                    { } # /moo/anything/after
sub beavers  :ActionRegex('king/(.*)/snake') { } # captures via $self->r->matches
sub exact    :Path('some/exact/path')        { } # /some/exact/path, whole-path match

Methods

get_dispatch_flags

Returns all autoflags specific to a package with inheritance.

get_package_dispatch_flags

Get autoflags, only specific to the called package.

AUTHORS

Bizowie <http://bizowie.com>

COPYRIGHT AND LICENSE

Copyright (C) 2013 Bizowie

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.