Perl/Dist.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Perl.pm ↑ Summary Perl/Module.pm »
1 package Regexp::Pattern::Perl::Dist;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 #use warnings;
5  
6 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
7 1 our $DATE = '2022-07-30'; # DATE
8 1 our $DIST = 'Regexp-Pattern-Perl'; # DIST
9 1 our $VERSION = '0.007'; # VERSION
10  
11 1 our %RE = (
12 perl_distname => {
13 pat => '[A-Za-z_][A-Za-z_0-9]*(?:-[A-Za-z_0-9]+)*',
14 examples => [
15 {str=>'', anchor=>1, matches=>0},
16 {str=>'Foo-Bar', anchor=>1, matches=>1},
17 {str=>'Foo-0Bar', anchor=>1, matches=>1},
18 {str=>'0Foo-Bar', anchor=>1, matches=>0},
19 {str=>'Foo::Bar', anchor=>1, matches=>0},
20 ],
21 },
22 );
23  
24 1 1;
25 # ABSTRACT: Regexp patterns related to Perl distribution
26  
27 __END__
« Perl.pm ↑ Summary Perl/Module.pm »