blib/lib/Test/Deep/RegexpVersion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 40 | 40 | 261 | use strict; | |||
40 | 86 | ||||||
40 | 1157 | ||||||
2 | 40 | 40 | 205 | use warnings; | |||
40 | 93 | ||||||
40 | 2698 | ||||||
3 | |||||||
4 | package Test::Deep::RegexpVersion 1.203; | ||||||
5 | |||||||
6 | # Older versions of Perl treated Regexp refs as opaque scalars blessed | ||||||
7 | # into the "Regexp" class. Several bits of code need this so we | ||||||
8 | # centralise the test for that kind of version. | ||||||
9 | our $OldStyle = ($] < 5.011); | ||||||
10 | |||||||
11 | 1; | ||||||
12 | |||||||
13 | __END__ |