X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9bd3030a376850c427c102c6e0c54f19bd19332e..da99c7bcf4a8ec82d9bc1d0c75aaba6ba4cd69ea:/t/002goodperl.t diff --git a/t/002goodperl.t b/t/002goodperl.t index fa205b17c..28b69a4c5 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -119,7 +119,8 @@ foreach my $file (@testitems) { next; } while (my $file_line = ) { - if ($file_line =~ m/(<\/?$tags>)/) { + last if $file_line =~ /^__END__/; + if ($file_line =~ m/(<\/?$tags>)/o) { $found_html_count++; $found_html .= $1; }