| 1 | package Mail::DKIM2::Hop; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | 96 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 96 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 96 | our $VERSION = '0.33'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | 96 | ▶ | use Carp (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | 96 | ▶ | use Mail::DKIM2::Util (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | 96 | ▶ | use Mail::DKIM2::Common qw(parse_mime strip_mi_versions); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | 96 | ▶ | use Mail::DKIM2::Canon qw(check_ignore_prefixes); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | 96 | ▶ | use Mail::DKIM2::Chain; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | 96 | ▶ | use Mail::DKIM2::MessageInstance; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | # What one hop does to a message's Message-Instance fields before it signs: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | # the decision the milter, the authentication_milter handler and dkim2sign | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | # each used to make for themselves. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | 147 | ▶ | sub next_instance { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
next_instance: called CC=24 SCAR=31.8
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | 147 | my ($class, $message, %o) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | 147 | Mail::DKIM2::Util::check_options("$class->next_instance", \%o, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | qw(Snapshot Outbound IgnorePrefixes MaxRecipeLiterals Algs)); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | 146 | ▶ | Carp::croak("next_instance needs a message") unless defined $message && length $message; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
defined $message and length $message
MC/DC50%1/2
defined $message and length $message
defined $message
length $message
Truth table66%2/3
A and B
A= defined $messageB= length $message
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 145 | check_ignore_prefixes($o{IgnorePrefixes}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | 145 | ▶ | my @ignore = defined $o{IgnorePrefixes} ? (IgnorePrefixes => $o{IgnorePrefixes}) : (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | 145 | ▶ | my @calc = (@ignore, map { defined $o{$_} ? ($_ => $o{$_}) : () } qw(MaxRecipeLiterals Algs)); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | 145 | my %r = (instance => undef, message => $message, removed => [], | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | restart => 0, matched => 0); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | 143 | ▶ | my $done = sub { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | 143 | @r{qw(reason detail)} = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | 143 | return \%r; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | 145 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | 145 | my $chain = Mail::DKIM2::Chain->from_message($message); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | 145 | my $has_mi = $chain->count('Message-Instance'); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | 145 | my $has_sig = $chain->count('DKIM2-Signature'); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | 145 | my $msg = parse_mime($message); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | # Does the top instance still describe the message? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | 145 | ▶ | $r{matched} = ($has_mi && Mail::DKIM2::MessageInstance->verify($msg, @ignore)) ? 1 : 0; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
$has_mi and "Mail::DKIM2::MessageInstance"->verify($msg, @ignore)
MC/DC100%2/2
$has_mi and "Mail::DKIM2::MessageInstance"->verify($msg, @ignore)
$has_mi
"Mail::DKIM2::MessageInstance"->verify($msg, @ignore)
Truth table100%3/3
A and B
A= $has_miB= "Mail::DKIM2::MessageInstance"->verify($msg, @ignore)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | # Outbound, with instances and no signature: every instance is this | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | # host's own and unsigned, and the message leaves with ONE m=1 (-09 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | # section 12.1) -- unless that is what it already has. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | 145 | ▶ | my $restart = $o{Outbound} && $has_mi && !$has_sig && !($r{matched} && $has_mi == 1); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition100%12/12
$o{'Outbound'} && $has_mi && !$has_sig && !($r{'matched'} && $has_mi == 1)
$o{"Outbound"} and $has_mi and not $has_sig
$o{"Outbound"} and $has_mi
$r{'matched'} && $has_mi == 1
MC/DC100%5/5
$o{'Outbound'} && $has_mi && !$has_sig && !($r{'matched'} && $has_mi == 1)
$o{"Outbound"}
$has_mi
not $has_sig
$r{'matched'}
$has_mi == 1
Truth table100%6/6
A and B and not(C) && not(D && E)
A= $o{"Outbound"}B= $has_miC= not $has_sigD= $r{'matched'}E= $has_mi == 1
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | return $done->('unchanged', 'the top Message-Instance describes the message') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | 145 | ▶ | if $r{matched} && !$restart; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
$r{"matched"} and not $restart
MC/DC100%2/2
$r{"matched"} and not $restart
$r{"matched"}
not $restart
Truth table100%3/3
A and not(B)
A= $r{"matched"}B= not $restart
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | # A chain no verifier can number (the Gate refuses it): add nothing, and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | # never use one of its numbers as a bound. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | 83 | ▶ | if (my $e = $chain->numbering_error(Signatures => 0)) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | 4 | return $done->('bad-chain', "not computing a Message-Instance: $e"); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | # No instance yet: this hop starts the chain, m=1 over everything. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | 79 | ▶ | unless ($has_mi) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | $r{instance} = Mail::DKIM2::MessageInstance->calculate($msg, undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | 39 | ▶ | @ignore, (defined $o{Algs} ? (Algs => $o{Algs}) : ())); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | 37 | return $done->('first', 'no Message-Instance yet: m=1'); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | # What the message was before this hop changed it: the message itself | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | # when its instances already say (a list manager that recorded its own | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | # change), else the snapshot this host took of this very message. Only | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | # that can say what changed; anything else would book someone else's | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | # change as this hop's. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | 40 | my $previous; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | 40 | ▶ | if ($restart && $r{matched}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
$restart and $r{"matched"}
MC/DC100%2/2
$restart and $r{"matched"}
$restart
$r{"matched"}
Truth table100%3/3
A and B
A= $restartB= $r{"matched"}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | 8 | $previous = $message; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | return $done->('no-snapshot', 'top Message-Instance does not match the ' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | 32 | ▶ | . 'content and no snapshot of ours describes it') unless defined $o{Snapshot}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | 22 | ▶ | if (defined(my $m = _foreign_instance($chain, $o{Snapshot}))) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | 1 | return $done->('foreign-snapshot', | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | "snapshot does not belong to this message (m=$m differs)"); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | 21 | $previous = $o{Snapshot}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | 29 | my @numbers = $chain->instance_numbers; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | 29 | ▶ | if ($restart) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | # Only a chain that undoes cleanly says what the message was. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | 12 | my ($ok, $why) = Mail::DKIM2::MessageInstance->chain_verifies($previous, @ignore); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | 12 | ▶ | return $done->('bad-chain', "not restarting the unsigned instances as m=1: $why") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | unless $ok; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | 10 | $r{instance} = Mail::DKIM2::MessageInstance->calculate_first($message, $previous, @calc); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | 10 | @r{qw(removed restart)} = (\@numbers, 1); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | 10 | $r{message} = strip_mi_versions($message, @numbers); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | return $done->('restart', 'restarting unsigned ' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | 10 | . join(',', map { "m=$_" } @numbers) . ' as one m=1'); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | # The message has instances the snapshot does not: a hop between added | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | # them, and since the top one does not match they are wrong. Drop them | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | # and describe the change from the snapshot, rather than build on a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | # broken chain. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | 17 | ▶ | my $snap_top = Mail::DKIM2::Chain->from_message($previous)->top_instance // 0; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
"Mail::DKIM2::Chain"->from_message($previous)->top_instance // 0
MC/DC0%0/1
"Mail::DKIM2::Chain"->from_message($previous)->top_instance // 0
"Mail::DKIM2::Chain"->from_message($previous)->top_instance
Truth table50%1/2
A
A= "Mail::DKIM2::Chain"->from_message($previous)->top_instance
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | 17 | my $detail = 'the message changed since the snapshot'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | 17 | ▶ | if ($numbers[-1] > $snap_top) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | 3 | my @strip = ($snap_top + 1 .. $numbers[-1]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | 3 | $r{removed} = \@strip; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | 3 | $r{message} = strip_mi_versions($message, @strip); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | 3 | $msg = parse_mime($r{message}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | 3 | $detail = 'stripping broken MI versions ' . join(',', map { "m=$_" } @strip) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | . " (snapshot at m=$snap_top): broken chain detected"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | 17 | $r{instance} = Mail::DKIM2::MessageInstance->calculate($msg, parse_mime($previous), @calc); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | 17 | return $done->('changed', $detail); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | # The lowest m= at which a snapshot's Message-Instance fields are not the | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | # message's own (white space apart), or undef when they all are. A snapshot | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | # whose own fields cannot be numbered is nobody's. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | 22 | ▶ | sub _foreign_instance { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
_foreign_instance: called CC=5 SCAR=16.2
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | 22 | my ($chain, $snapshot) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | 22 | my $snap = Mail::DKIM2::Chain->from_message($snapshot); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | 22 | ▶ | return 0 if $snap->numbering_error(Signatures => 0); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | 22 | for my $m ($snap->instance_numbers) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | my ($x, $y) = map { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | 24 | ▶ | my $v = $_ // ''; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$_ // ""
MC/DC0%0/1
$_ // ""
$_
Truth table50%1/2
A
A= $_
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | 48 | $v =~ s/\A[^:]*://; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | 48 | $v =~ s/\s+/ /g; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | 48 | $v =~ s/\A | \z//g; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | 48 | $v; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | } $snap->instance_field($m), $chain->instance_field($m); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | 24 | ▶ | return $m if $x ne $y; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | 21 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | 96 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | __END__ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||