The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
__PACKAGE__->config(
actions => {
'one' => { 'Path' => [ 'a path with spaces' ] },
'two' => { 'Path' => "åäö" },
},
);
sub one : Action Path("this_will_be_overriden") {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}
sub two : Action {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}
sub three :Path {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}
sub four : Path( 'spaces_near_parens_singleq' ) {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}
sub five : Path( "spaces_near_parens_doubleq" ) {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}
1;