Skip to content

Commit

Permalink
avoid defined-or to fix compatibility with perl 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Nov 30, 2023
1 parent 1496dc4 commit f3ad17c
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 f3ad17c

Please sign in to comment.