6
my $r = Router::Simple->new()
7
->connect('/hi/:user', { action => 'hello_who' },
8
{ on_match => sub { my($path, $m) = @_; return $m->{user} ne 'foo' } })
9
->connect('/hi/{user:.*}', { action => 'hi' } );
12
$r->match('/hi/miyagawa'),
14
action => 'hello_who',