1Path::Dispatcher::Rule:U:sEeqr(3Cpomn)tributed Perl DocuPmaetnht:a:tDiiosnpatcher::Rule::Eq(3pm)
2
3
4

NAME

6       Path::Dispatcher::Rule::Eq - predicate is a string equality
7

VERSION

9       version 1.08
10

SYNOPSIS

12           my $rule = Path::Dispatcher::Rule::Eq->new(
13               string => 'comment',
14               block  => sub { display_comment(shift->pos(1)) },
15           );
16

DESCRIPTION

18       Rules of this class simply check whether the string is equal to the
19       path.
20

ATTRIBUTES

22   string

SUPPORT

24       Bugs may be submitted through the RT bug tracker
25       <https://rt.cpan.org/Public/Dist/Display.html?Name=Path-Dispatcher> (or
26       bug-Path-Dispatcher@rt.cpan.org <mailto:bug-Path-
27       Dispatcher@rt.cpan.org>).
28

AUTHOR

30       Shawn M Moore, "<sartak at bestpractical.com>"
31
33       This software is copyright (c) 2020 by Shawn M Moore.
34
35       This is free software; you can redistribute it and/or modify it under
36       the same terms as the Perl 5 programming language system itself.
37
38
39
40perl v5.38.0                      2023-07-21   Path::Dispatcher::Rule::Eq(3pm)
Impressum