line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catalyst::DispatchType::Regexp; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
3813
|
use Moose; |
|
3
|
|
|
|
|
37
|
|
|
3
|
|
|
|
|
17
|
|
4
|
|
|
|
|
|
|
extends 'Catalyst::DispatchType::Regex'; |
5
|
|
|
|
|
|
|
has '+_attr' => ( default => 'Regexp' ); |
6
|
3
|
|
|
3
|
|
13706
|
no Moose; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
11
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Catalyst::DispatchType::Regexp - Regex DispatchType |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
See L<Catalyst::DispatchType::Regex>. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
B<Status: Deprecated.> Regex dispatch types have been deprecated and removed |
19
|
|
|
|
|
|
|
from Catalyst core. It is recommend that you use Chained methods or other |
20
|
|
|
|
|
|
|
techniques instead. As part of the refactoring, the dispatch priority of |
21
|
|
|
|
|
|
|
Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now |
22
|
|
|
|
|
|
|
influenced by when the dispatch type is first seen in your application. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
When loaded, a warning about the deprecation will be printed to STDERR. To |
25
|
|
|
|
|
|
|
suppress the warning set the CATALYST_NOWARN_DEPRECATE environment variable to |
26
|
|
|
|
|
|
|
a true value. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Dispatch type managing path-matching behaviour using regexes. This simply |
29
|
|
|
|
|
|
|
supports the alternate spelling of C<Regex>. All the work is done in |
30
|
|
|
|
|
|
|
L<Catalyst::DispatchType::Regex>. For more information on dispatch types, see: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=over 4 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item * L<Catalyst::Manual::Intro> for how they affect application authors |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item * L<Catalyst::DispatchType> for implementation information. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=back |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHORS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Catalyst Contributors, see Catalyst.pm |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This library is free software. You can redistribute it and/or modify it under |
47
|
|
|
|
|
|
|
the same terms as Perl itself. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; |