]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- workaround over static markers for the .. operator
authorradek <radek@pld-linux.org>
Thu, 19 Sep 2002 08:04:02 +0000 (08:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl.prov -> 1.2

perl.prov

index eb4f5846671fd32652c8bdabbfcde2b3b40da844..f36ca18c609eb05080ec3aa94a6946419cc44da6 100644 (file)
--- a/perl.prov
+++ b/perl.prov
@@ -66,8 +66,8 @@ sub process_file {
 
                # skip the documentation
                next
-                 if m/^=(?:head1|head2|pod|item|begin|for|over)/
-                 ...  m/^=(?:cut|end)/;
+                 if m/^=(?:head1|head2|pod|item|begin|for|over)\b/
+                    ... ( m/^=(?:cut|end)\b/ || $. == 1 );
 
                # skip the data section
                last if m/^__(?:DATA|END)__$/;
This page took 0.039903 seconds and 4 git commands to generate.