line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catalyst::DispatchType::LocalRegexp; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
4071
|
use Moose; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
19
|
|
4
|
|
|
|
|
|
|
extends 'Catalyst::DispatchType::LocalRegex'; |
5
|
|
|
|
|
|
|
has '+_attr' => ( default => 'LocalRegexp' ); |
6
|
3
|
|
|
3
|
|
14045
|
no Moose; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Catalyst::DispatchType::LocalRegexp - LocalRegexp DispatchType |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
See L<Catalyst::DispatchType>. |
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<LocalRegex>. All the work is done in |
30
|
|
|
|
|
|
|
L<Catalyst::DispatchType::LocalRegex>. For more information on dispatch types, |
31
|
|
|
|
|
|
|
see: |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=over 4 |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item * L<Catalyst::Manual::Intro> for how they affect application authors |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item * L<Catalyst::DispatchType> for implementation information. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=back |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHORS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Catalyst Contributors, see Catalyst.pm |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 COPYRIGHT |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This library is free software. You can redistribute it and/or modify it under |
48
|
|
|
|
|
|
|
the same terms as Perl itself. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |