| 1 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Test::Deep::String 1.205; | ||
| 5 | |||
| 6 | 3 | ▶ | use Test::Deep::Cmp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | sub init | ||
| 9 | 10 | ▶ | { |
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 10 | my $self = shift; | |
| 11 | |||
| 12 | 10 | $self->{val} = shift; | |
| 13 | } | ||
| 14 | |||
| 15 | sub descend | ||
| 16 | 10 | ▶ | { |
|
Subroutine
descend: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 17 | 10 | my $self = shift; | |
| 18 | 10 | my $got = shift().""; | |
| 19 | |||
| 20 | 10 | $self->data->{got} = $got; | |
| 21 | |||
| 22 | 10 | return $got eq $self->{val}; | |
| 23 | } | ||
| 24 | |||
| 25 | sub diag_message | ||
| 26 | 3 | ▶ | { |
|
Subroutine
diag_message: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 27 | 3 | my $self = shift; | |
| 28 | |||
| 29 | 3 | my $where = shift; | |
| 30 | |||
| 31 | 3 | return "Comparing $where as a string"; | |
| 32 | } | ||
| 33 | |||
| 34 | 3 | 1; | |
| 35 | |||
| 36 | __END__ | ||