| 1 | package Klonk::Handle 0.01; | ||||||||||||||
| 2 | 1 | ▶ | use Klonk::pragma; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 3 | 1 | ▶ | use parent 'IO::Handle'; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 4 | |||||||||||||||
| 5 | 0 | ▶ | method openr($class: $file) { | ||||||||||||
|
Subroutine
openr: not called CC=4 SCAR=30.0
Pod
documented
Branch: 2 branches
| |||||||||||||||
| 6 | 0 | ▶ | open my $fh, '<:raw', $file | ||||||||||||
|
Branch: 1 branch
| |||||||||||||||
| 7 | or return undef; | ||||||||||||||
| 8 | 0 | ${*$fh} = $file; | |||||||||||||
| 9 | 0 | bless $fh, $class | |||||||||||||
| 10 | 1 | } | |||||||||||||
| 11 | |||||||||||||||
| 12 | 0 | ▶ | method path() { | ||||||||||||
|
Subroutine
path: not called CC=3 SCAR=24.8
Pod
documented
Branch: 2 branches
| |||||||||||||||
| 13 | 0 | ${*$self} | |||||||||||||
| 14 | 1 | } | |||||||||||||
| 15 | |||||||||||||||
| 16 | 1 | 1 | |||||||||||||
| 17 | __END__ | ||||||||||||||