Commit 6a9a5220 authored by Dietmar Maurer's avatar Dietmar Maurer

use return instead of next

parent 7fc43a1c
...@@ -21,8 +21,8 @@ if ($arg1) { ...@@ -21,8 +21,8 @@ if ($arg1) {
my $testfunc = sub { my $testfunc = sub {
my $line = shift; my $line = shift;
next if $line =~ m/^#/; return if $line =~ m/^#/;
next if $line =~ m/^\?\?/; return if $line =~ m/^\?\?/;
die "detected modified content: $line\n"; die "detected modified content: $line\n";
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment