blib/lib/Object/BlankStr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 13 | 92.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Object::BlankStr; | ||||||
2 | |||||||
3 | 1 | 1 | 23131 | use 5.010001; | |||
1 | 4 | ||||||
1 | 70 | ||||||
4 | |||||||
5 | our $VERSION = '0.05'; # VERSION | ||||||
6 | |||||||
7 | 1 | 1 | 2569 | use overload q{""} => sub { "" }; | |||
1 | 2 | 1270 | |||||
1 | 9 | ||||||
2 | 59 | ||||||
8 | |||||||
9 | 1 | 1 | 0 | 16 | sub new { bless(\"$_[0]", $_[0]) } | ||
10 | |||||||
11 | 1; | ||||||
12 | # ABSTRACT: Object which stringifies to empty string ("") | ||||||
13 | |||||||
14 | __END__ |