Skip to content

Commit de015ef

Browse files
committed
avoid a new experimental warning in P5
1 parent 0f2049c commit de015ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ require STD;
139139

140140
sub spew {
141141
my $bits = shift;
142-
$bits .= "\n" unless $bits ~~ /\n\z/;
142+
$bits .= "\n" unless $bits =~ /\n\z/;
143143
if (defined $OPT_output_file) {
144144
open my $out, ">", $OPT_output_file
145145
or die "cannot open $OPT_output_file for writing: $!";

0 commit comments

Comments
 (0)