The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Reading database from ...


------------------------------------------ ------ ------ ------ ------ ------
File                                         stmt   bran   cond    sub  total
------------------------------------------ ------ ------ ------ ------ ------
tests/overload_bool2                        100.0    n/a    n/a  100.0  100.0
Total                                       100.0    n/a    n/a  100.0  100.0
------------------------------------------ ------ ------ ------ ------ ------


Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...

tests/overload_bool2

line  err   stmt   bran   cond    sub   code
1                                       #!/usr/bin/perl
2                                       
3                                       # Copyright 2014-2016, Paul Johnson (paul@pjcj.net)
4                                       
5                                       # This software is free.  It is licensed under the same terms as Perl itself.
6                                       
7                                       # The latest version of this software should be available from my homepage:
8                                       # http://www.pjcj.net
9                                       
10             1                    1   use strict;
               1                        
               1                        
11             1                    1   use warnings;
               1                        
               1                        
12                                      
13                                      {
14             1                            package Cat;
15                                      
16             1                    1       use overload (bool => "meh");
               1                        
               1                        
17                                      
18             3                    3       sub meh { 1 }
19                                      }
20                                      
21             1                        my $string = "hi";
22             1                        my $x = bless \$string, "Cat";
23                                      
24             1                        my $fn = eval 'require $x';


Covered Subroutines
-------------------

Subroutine Count Location               
---------- ----- -----------------------
BEGIN          1 tests/overload_bool2:10
BEGIN          1 tests/overload_bool2:11
BEGIN          1 tests/overload_bool2:16
meh            3 tests/overload_bool2:18