diff options
author | rillig <rillig@pkgsrc.org> | 2015-10-11 21:06:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2015-10-11 21:06:20 +0000 |
commit | 9a2aeca933f3968bb40c06cd825cc27535c2b66f (patch) | |
tree | cb62719de9eeee6e55cb870384a0e32c4dfb54ca /pkgtools/pkglint/files/PkgLint/Line.pm | |
parent | 6b0c2cddf692c97bf92afdcecdcc94ffe4ab8f8f (diff) | |
download | pkgsrc-9a2aeca933f3968bb40c06cd825cc27535c2b66f.tar.gz |
Fixed errors reported by perlcritic in --gentle mode
Diffstat (limited to 'pkgtools/pkglint/files/PkgLint/Line.pm')
-rw-r--r-- | pkgtools/pkglint/files/PkgLint/Line.pm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgtools/pkglint/files/PkgLint/Line.pm b/pkgtools/pkglint/files/PkgLint/Line.pm index 6f22821e954..bd4e6cb427b 100644 --- a/pkgtools/pkglint/files/PkgLint/Line.pm +++ b/pkgtools/pkglint/files/PkgLint/Line.pm @@ -1,4 +1,5 @@ -#========================================================================== +# $NetBSD: Line.pm,v 1.4 2015/10/11 21:06:20 rillig Exp $ +# # When files are read in by pkglint, they are interpreted in terms of # lines. For Makefiles, line continuations are handled properly, allowing # multiple physical lines to end in a single logical line. For other files @@ -18,9 +19,11 @@ # # A line can have some "extra" fields that allow the results of parsing to # be saved under a name. -#========================================================================== +# package PkgLint::Line; +use strict; + BEGIN { import PkgLint::Util qw( false true @@ -211,7 +214,3 @@ sub set_text($$) { $self->[PHYSLINES] = [[0, "$text\n"]]; $self->[CHANGED] = true; } - -#== End of PkgLint::Line ================================================== - -1; |