| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Test::Deep::RegexpRefOnly 1.205; | ||
| 5 | |||
| 6 | 1 | ▶ | use Test::Deep::Ref; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | sub init | ||
| 9 | 2 | ▶ | { |
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 2 | my $self = shift; | |
| 11 | |||
| 12 | 2 | my $val = shift; | |
| 13 | |||
| 14 | 2 | $self->{val} = $val; | |
| 15 | } | ||
| 16 | |||
| 17 | sub descend | ||
| 18 | 2 | ▶ | { |
|
Subroutine
descend: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 19 | 2 | my $self = shift; | |
| 20 | |||
| 21 | 2 | my $got = shift; | |
| 22 | |||
| 23 | 2 | my $exp = $self->{val}; | |
| 24 | |||
| 25 | 2 | return $got eq $exp; | |
| 26 | } | ||
| 27 | |||
| 28 | sub render_stack | ||
| 29 | 1 | ▶ | { |
|
Subroutine
render_stack: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 30 | 1 | my $self = shift; | |
| 31 | 1 | my ($var, $data) = @_; | |
| 32 | |||
| 33 | 1 | return "m/$var/"; | |
| 34 | } | ||
| 35 | |||
| 36 | sub renderGot | ||
| 37 | 2 | ▶ | { |
|
Subroutine
renderGot: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 38 | 2 | my $self = shift; | |
| 39 | |||
| 40 | 2 | return shift().""; | |
| 41 | } | ||
| 42 | |||
| 43 | 1 | 1; | |
| 44 | |||
| 45 | __END__ | ||