Skip to content

Commit

Permalink
Merge pull request #921 from haarg/58fix
Browse files Browse the repository at this point in the history
avoid defined-or to fix compatibility with perl 5.8
  • Loading branch information
exodist authored Nov 30, 2023
2 parents 1496dc4 + f3ad17c commit 1fd6847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test2/API/Instance.pm
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ sub reset {
delete $self->{+_PID};
delete $self->{+_TID};

$self->{+TRACE_STAMPS} = $ENV{T2_TRACE_STAMPS} // 0;
$self->{+TRACE_STAMPS} = $ENV{T2_TRACE_STAMPS} || 0;

$self->{+ADD_UUID_VIA} = undef;

Expand Down

0 comments on commit 1fd6847

Please sign in to comment.